Subject: misc/2129: no prototype for sigaltstack
To: None <gnats-bugs@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 02/25/1996 20:30:34
>Number: 2129
>Category: misc
>Synopsis: no prototype for sigaltstack
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 25 21:20:01 1996
>Last-Modified:
>Originator: John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release: NetBSD-current, 1996/02/25
>Environment:
System: NetBSD pattern 1.1A NetBSD 1.1A (PATTERN) #4: Sun Feb 25 09:56:05 EST 1996 jtk@pattern:/u3/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
There's no prototype for sigaltstack().
>How-To-Repeat:
Compile code that uses it with -Wall.
>Fix:
I'm guessing that <signal.h> is the right place to put it.
*** src/include/signal.h.old Wed Nov 29 19:56:57 1995
--- src/include/signal.h Sun Feb 25 20:29:36 1996
***************
*** 110,115 ****
--- 110,116 ----
int sigreturn __P((struct sigcontext *));
int sigsetmask __P((int));
int sigstack __P((const struct sigstack *, struct sigstack *));
+ int sigaltstack __P((const struct sigaltstack *, struct sigaltstack *));
int sigvec __P((int, struct sigvec *, struct sigvec *));
void psignal __P((unsigned int, const char *));
#endif /* !_POSIX_SOURCE */
>Audit-Trail:
>Unformatted: