From owner-freebsd-hackers Fri Aug 6 15:38: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.108]) by hub.freebsd.org (Postfix) with ESMTP id 12A371516F for ; Fri, 6 Aug 1999 15:38:00 -0700 (PDT) (envelope-from assar@sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.7.3) id AAA67674; Sat, 7 Aug 1999 00:38:22 +0200 (CEST) To: Marc Tardif Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: prototypes with __P References: Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII From: Assar Westerlund Date: 07 Aug 1999 00:38:18 +0200 In-Reply-To: Marc Tardif's message of "Fri, 6 Aug 1999 18:33:30 -0400 (EDT)" Message-ID: <5lr9lga61w.fsf@assaris.sics.se> Lines: 22 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marc Tardif 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 : #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