Subject: Re: lib/2718: [dM] missing some prototypes To: None
<netbsd-bugs@NetBSD.ORG> From: Christos Zoulas <> List: netbsd-
bugs Date: 08/29/1996 17:22:28 In article
<199608282011.QAA04390@Collatz.McRCIM.McGill.EDU>
mouse@Holo.Rodents.Montreal.QC.CA writes: >       <signal.h> is
missing some prototypes; they cause trouble when >       code
that uses signals is compiled with -Wmissing-prototypes >
-Wstrict-prototypes.  Specifically, SIG_DFL, SIG_IGN, and >
SIG_ERR provoke such complaints, as do the sa_handler and >
sv_handler structure elements.  This is a very thorny issue,
that is why it has not been fixed yet. The difficulty is that we
cannot satisfy old and new code. In addition, the kernel
sendsig() functions pass additional arguments after the signal
number which can be useful, and these arguments vary between
ports.  Historically the sv_handler member of the sigvec
structure passed:      (int, int, struct sigcontext *, char *)
So if you add the suggested prototypes, old code that passes
those arguments will fail.