Subject: unistd.h vs signal.h and stdlib.h
To: None <current-users@NetBSD.ORG>
From: Henry G. Juengst <juengst@saph5.physik.uni-bonn.de>
List: current-users
Date: 02/13/1995 19:36:23
I just found the following conflicts:
/usr/include/unistd.h:136: conflicting types for `psignal'
/usr/include/signal.h:114: previous declaration of `psignal'
/usr/include/unistd.h:137: conflicting types for `sys_siglist'
/usr/include/signal.h:50: previous declaration of `sys_siglist'
/usr/include/unistd.h:177: conflicting types for `getopt'
/usr/include/stdlib.h:139: previous declaration of `getopt'
/usr/include/unistd.h:183: conflicting types for `getsubopt'
/usr/include/stdlib.h:145: previous declaration of `getsubopt'
May be the signal and getopt stuff should be removed from unistd.h
and replaced by an include of signal.h and stdlib.h.
Henry