On Wed, 2006-10-18 at 20:55 +0530, amit mehta wrote: > hi, > > The small stupid piece of code is: > 1 /* program to find the return status*/ > 2 #include<stdio.h> Don't need this > 3 #include<stdlib.h> > 4 #include<unistd.h> Don't need this > 5 int main(void) > 6 { > 7 exit(0); > 8 } > > while using "splint" for checking coding errors, i got the following > error message: > exit.c:3: Include file <unistd.h> matches the name of a POSIX library, > but the > POSIX library is not being used. Consider using +posixlib or > +posixstrictlib to select the POSIX library, or -warnposix to > suppress this > message > Header name matches a POSIX header, but the POSIX library is not > selected. I never used splint, but maybe it's complaining that you included unnecessary header files? Avishay Traeger http://www.fsl.cs.sunysb.edu/~avishay/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/