diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-05-24 18:06:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-05-24 18:06:11 +0000 |
commit | 3dec57c1b4667257a5b1a1894401dba05b58bd7b (patch) | |
tree | 1a4a84a669c36748680946ca4ed3c9a8c3f914db /sys | |
parent | 5e920408664d06650a7e55772361ab223f4bdfdb (diff) |
Don't need to protect as many signals from _POSIX_SOURCE now that POSIX
specifies them. OK miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/signal.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h index e262f751d67..345941d3b24 100644 --- a/sys/sys/signal.h +++ b/sys/sys/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.16 2004/01/14 05:23:25 tedu Exp $ */ +/* $OpenBSD: signal.h,v 1.17 2005/05/24 18:06:10 millert Exp $ */ /* $NetBSD: signal.h,v 1.21 1996/02/09 18:25:32 christos Exp $ */ /* @@ -53,9 +53,7 @@ #define SIGINT 2 /* interrupt */ #define SIGQUIT 3 /* quit */ #define SIGILL 4 /* illegal instruction (not reset when caught) */ -#ifndef _POSIX_SOURCE #define SIGTRAP 5 /* trace trap (not reset when caught) */ -#endif #define SIGABRT 6 /* abort() */ #ifndef _POSIX_SOURCE #define SIGIOT SIGABRT /* compatibility */ @@ -63,19 +61,13 @@ #endif #define SIGFPE 8 /* floating point exception */ #define SIGKILL 9 /* kill (cannot be caught or ignored) */ -#ifndef _POSIX_SOURCE #define SIGBUS 10 /* bus error */ -#endif #define SIGSEGV 11 /* segmentation violation */ -#ifndef _POSIX_SOURCE #define SIGSYS 12 /* bad argument to system call */ -#endif #define SIGPIPE 13 /* write on a pipe with no one to read it */ #define SIGALRM 14 /* alarm clock */ #define SIGTERM 15 /* software termination signal from kill */ -#ifndef _POSIX_SOURCE #define SIGURG 16 /* urgent condition on IO channel */ -#endif #define SIGSTOP 17 /* sendable stop signal not from tty */ #define SIGTSTP 18 /* stop signal from tty */ #define SIGCONT 19 /* continue a stopped process */ @@ -84,10 +76,12 @@ #define SIGTTOU 22 /* like TTIN for output if (tp->t_local<OSTOP) */ #ifndef _POSIX_SOURCE #define SIGIO 23 /* input/output possible signal */ +#endif #define SIGXCPU 24 /* exceeded CPU time limit */ #define SIGXFSZ 25 /* exceeded file size limit */ #define SIGVTALRM 26 /* virtual time alarm */ #define SIGPROF 27 /* profiling time alarm */ +#ifndef _POSIX_SOURCE #define SIGWINCH 28 /* window size changes */ #define SIGINFO 29 /* information request */ #endif |