$NetBSD: patch-ab,v 1.4 2001/03/26 13:41:32 bad Exp $ --- mit-pthreads/machdep/netbsd-1.1/__signal.h.orig Fri Mar 16 01:51:54 2001 +++ mit-pthreads/machdep/netbsd-1.1/__signal.h Sun Mar 25 00:54:56 2001 @@ -1,5 +1,7 @@ #include +__BEGIN_DECLS + #if NSIG <= 32 #define __SIGEMPTYSET 0 #define __SIGFILLSET 0xffffffff @@ -8,6 +10,9 @@ #define __SIGISMEMBER(s, n) ((*(s) & (1 << ((n) - 1))) != 0) #else /* XXX Netbsd >= 1.3H */ + +int sigaction __P_((int, const struct sigaction *, struct sigaction *)) __RENAME(__sigaction14); + #define __SIGEMPTYSET { 0, 0, 0, 0} #define __SIGFILLSET { 0xffffffff, 0xffffffff, \ 0xffffffff, 0xffffffff } @@ -18,3 +23,5 @@ #define __SIGISMEMBER(s, n) (((s)->__bits[__SIGWORD(n)] & __SIGMASK(n)) != 0) #endif + +__END_DECLS