Subject: signal.h prototypes
To: None <port-i386@NetBSD.ORG>
From: John M Vinopal <banshee@gabriella.resort.com>
List: port-i386
Date: 05/09/1996 01:00:24
cc -O2 -Werror -c /usr/src/games/cribbage/crib.c
In file included from /usr/src/games/cribbage/crib.c:45:
/usr/include/sys/signal.h:124: syntax error before `__P'
*** Error code 1
/* from signal.h */
void (*sa_handler) /* signal handler */
#ifdef _KERNEL
__P((int));
#else
__P(());
#endif
the error doesn't occur if __P(()); is changed to be ();
or if <signal.h> is included rather than <sys/signal.h>
comments? ideas?
-j