=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/signal.h,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11 *** src/include/signal.h 2005/12/21 19:09:01 1.10 --- src/include/signal.h 2007/03/17 21:38:14 1.11 *************** *** 1,4 **** ! /* $OpenBSD: signal.h,v 1.10 2005/12/21 19:09:01 millert Exp $ */ /* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: signal.h,v 1.11 2007/03/17 21:38:14 espie Exp $ */ /* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */ /*- *************** *** 63,69 **** int sigsuspend(const sigset_t *); #if defined(__GNUC__) ! extern __inline int sigaddset(sigset_t *set, int signo) { int *__errno(void); if (signo <= 0 || signo >= _NSIG) { --- 63,74 ---- int sigsuspend(const sigset_t *); #if defined(__GNUC__) ! # if defined(__GNUC_STDC_INLINE__) ! #define __SIGNAL_INLINE extern __inline __attribute((__gnu_inline__)) ! # else ! #define __SIGNAL_INLINE extern __inline ! # endif ! __SIGNAL_INLINE int sigaddset(sigset_t *set, int signo) { int *__errno(void); if (signo <= 0 || signo >= _NSIG) { *************** *** 74,80 **** return (0); } ! extern __inline int sigdelset(sigset_t *set, int signo) { int *__errno(void); if (signo <= 0 || signo >= _NSIG) { --- 79,85 ---- return (0); } ! __SIGNAL_INLINE int sigdelset(sigset_t *set, int signo) { int *__errno(void); if (signo <= 0 || signo >= _NSIG) { *************** *** 85,91 **** return (0); } ! extern __inline int sigismember(const sigset_t *set, int signo) { int *__errno(void); if (signo <= 0 || signo >= _NSIG) { --- 90,96 ---- return (0); } ! __SIGNAL_INLINE int sigismember(const sigset_t *set, int signo) { int *__errno(void); if (signo <= 0 || signo >= _NSIG) {