summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
commit2512c847453c24b928c34beed88902fbb6877b7a (patch)
tree3d327c54c00684b85c435cffa29c5050888c0a69 /libc/signal
parente83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff)
Update to accomodate the header file changes
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/sigaddset.c3
-rw-r--r--libc/signal/sigblock.c1
-rw-r--r--libc/signal/sigdelset.c6
-rw-r--r--libc/signal/siggtmsk.c1
-rw-r--r--libc/signal/sigismem.c6
-rw-r--r--libc/signal/sigstmsk.c1
6 files changed, 10 insertions, 8 deletions
diff --git a/libc/signal/sigaddset.c b/libc/signal/sigaddset.c
index 269f7d367..8300dd7ca 100644
--- a/libc/signal/sigaddset.c
+++ b/libc/signal/sigaddset.c
@@ -16,9 +16,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <stdlib.h>
#include <errno.h>
#include <features.h>
-#include "signal.h"
+#include <signal.h>
/* Add SIGNO to SET. */
diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c
index 8edfe0df2..dd7a23f96 100644
--- a/libc/signal/sigblock.c
+++ b/libc/signal/sigblock.c
@@ -17,7 +17,6 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#include <errno.h>
-#define __USE_BSD
#include <signal.h>
/* Block signals in MASK, returning the old mask. */
diff --git a/libc/signal/sigdelset.c b/libc/signal/sigdelset.c
index 958f1d44a..6698ff6c4 100644
--- a/libc/signal/sigdelset.c
+++ b/libc/signal/sigdelset.c
@@ -16,8 +16,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "errno.h"
-#include "signal.h"
+#include <stdlib.h>
+#include <errno.h>
+#include <features.h>
+#include <signal.h>
/* Add SIGNO to SET. */
int sigdelset ( sigset_t *set, int signo)
diff --git a/libc/signal/siggtmsk.c b/libc/signal/siggtmsk.c
index 517cb49fb..1ee776b40 100644
--- a/libc/signal/siggtmsk.c
+++ b/libc/signal/siggtmsk.c
@@ -17,7 +17,6 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#include <errno.h>
-#define __USE_BSD
#include <signal.h>
/* Get the mask of blocked signals. */
diff --git a/libc/signal/sigismem.c b/libc/signal/sigismem.c
index 64b14f37e..89d88647d 100644
--- a/libc/signal/sigismem.c
+++ b/libc/signal/sigismem.c
@@ -16,10 +16,12 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "errno.h"
+#include <stdlib.h>
+#include <errno.h>
+#include <features.h>
#define _EXTERN_INLINE
#define __USE_EXTERN_INLINES 1
-#include "signal.h"
+#include <signal.h>
/* Return 1 if SIGNO is in SET, 0 if not. */
int sigismember ( const sigset_t *set, int signo)
diff --git a/libc/signal/sigstmsk.c b/libc/signal/sigstmsk.c
index 6b1876b32..c537d19c3 100644
--- a/libc/signal/sigstmsk.c
+++ b/libc/signal/sigstmsk.c
@@ -17,7 +17,6 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#include <errno.h>
-#define __USE_BSD
#include <signal.h>
/* Set the mask of blocked signals to MASK, returning the old mask. */