On Fri, Aug 06, 1999 at 06:33:30PM -0400, Marc Tardif wrote: > If anyone could point me in the right direction, and maybe even show me > how I could've found the answer myself, I'd appreciate.
It's defined in /usr/include/sys/cdefs.h, among other places. I found it with: cd /usr/include find . -name \*.h | xargs grep 'define.*__P' (The regular expression given to grep matches "define", zero or more other characters that we don't care about, then "__P".) The intent of the macro is to allow the programmer to take advantage of ANSI-style function prototypes (and the error checking they provide) while not breaking the code on K&R compilers that don't support ANSI prototypes. I have no idea how much of the FreeBSD code would actually build on a K&R compiler. -- Matthew Hunt <m...@astro.caltech.edu> * Inertia is a property http://www.pobox.com/~mph/ * of matter. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message