Subject: location of signal prototypes, etc.
To: None <tech-userlevel@NetBSD.ORG>
From: J.T. Conklin <firstname.lastname@example.org>
Date: 05/27/1995 19:50:40
In the days before ANSI and POSIX, the signal functions were declared
in <sys/signal.h> and many programs still use that header.
But the functions declarations for most signal functions (in fact, all
but signal() itself) have been moved to <signal.h> the NetBSD headers.
So a program that still uses <sys/signal.h> won't get the benefit of
those prototypes. In fact, there are many NetBSD programs that still
I see several ways of handling this situation:
* Ignore it.
* Update the NetBSD programs to use <signal.h>, and don't
worry about third party programs.
* Merge <signal.h> and <sys/signal.h>; then make a symlink
between /usr/include/signal.h and /usr/include/sys/signal.h.
Please share your thoughts...