Date: 07 Aug 1999 00:38:18 +0200 From: Assar Westerlund <assar@sics.se> To: Marc Tardif <intmktg@CAM.ORG> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: prototypes with __P Message-ID: <5lr9lga61w.fsf@assaris.sics.se> In-Reply-To: Marc Tardif's message of "Fri, 6 Aug 1999 18:33:30 -0400 (EDT)" References: <Pine.SOL.4.10.9908061827240.41-100000@Stratus.CAM.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
Marc Tardif <intmktg@CAM.ORG> writes: > At first, I simply considered the "__P" as a syntax convention. But, then > again, this kind of syntax has to be defined somewhere. I've looked all > over the place but can't seem to put the finger on the source of this > syntax. It's in <sys/cdefs.h>: #if defined(__STDC__) || defined(__cplusplus) #define __P(protos) protos /* full-blown ANSI C */ [ ... ] #else /* !(__STDC__ || __cplusplus) */ #define __P(protos) () /* traditional C preprocessor */ > 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. grep? /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lr9lga61w.fsf>