delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/19/17:00:17

Message-ID: <399EF616.3B108024@hotmail.com>
From: the Icefalcon <kourino AT hotmail DOT com>
Organization: Harumichi Otaku ... doko ni mo!
X-Mailer: Mozilla 4.05 [en] (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: One more thing about __P()
References: <399EF5C9 DOT E509C195 AT hotmail DOT com>
Lines: 21
Date: Sat, 19 Aug 2000 20:56:33 GMT
NNTP-Posting-Host: 12.85.130.106
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 966718593 12.85.130.106 (Sat, 19 Aug 2000 20:56:33 GMT)
NNTP-Posting-Date: Sat, 19 Aug 2000 20:56:33 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

the Icefalcon wrote:
> 
> 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 *));
> 
> What is this? Is it defined somewhere in a file that I'm missing for
> some reason? (This is Berkelely source code, that somehow wouldn't
> surprise me too much) Or am I just missing something obvious due to
> me relative newbieness?

Oh yes, it seems to be giving me parse errors ^^; At least, I keep
getting "parse error before __P" when there are no syntax errors on
that line before it or on the line before it.
-- 

                                             -|-E the Icefalcon

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019