Date: Sun, 20 Aug 2000 08:42:44 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: kourino AT hotmail DOT com Message-Id: <9003-Sun20Aug2000084244+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: djgpp AT delorie DOT com In-reply-to: <399EF5C9.E509C195@hotmail.com> (message from the Icefalcon on Sat, 19 Aug 2000 20:55:17 GMT) Subject: Re: __P()? References: <399EF5C9 DOT E509C195 AT hotmail DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: the Icefalcon > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 19 Aug 2000 20:55:17 GMT > > A bunch of files in the nvi 1.79 distribution have some __P() symbol > defined in them that's used like this: > > clib/bsearch.c:72: register int (*compar) __P((const void *, const void > *)); > vi/v_ex.c:30:static int v_ecl __P((SCR *)); > vi/vi.c:41:static int v_init __P((SCR *)); This is a way of declaring a prototype so that it works even with pre-ANSI compilers which don't support prototypes. DJGPP has a suitable definition for __P in , which see. You need to include cdefs.h somehow.