home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
oldstyle.c
< prev
next >
Wrap
Text File
|
1997-09-03
|
332b
|
25 lines
int f1 (x, y)
{
int z;
z = *y; /* 1. Dereference of non-pointer (int): *y */
return z + x;
}
int f2 (/*@unused@*/ x) /* 2. Function f2 declared with 1 arg, specified with 2 */
{
return 3;
}
int f3 (x, y)
int x;
/*@unused@*/ char y; /* 3. Parameter 2, y, of function f3 has inconsistent type */
{
return x;
}