about summary refs log tree commit diff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/Makefile3
-rw-r--r--signal/signal.h10
-rw-r--r--signal/sigsetops.c2
3 files changed, 8 insertions, 7 deletions
diff --git a/signal/Makefile b/signal/Makefile
index a8e26ed239..e35fb12345 100644
--- a/signal/Makefile
+++ b/signal/Makefile
@@ -21,7 +21,8 @@
 #
 subdir	:= signal
 
-headers	:= signal.h sys/signal.h signum.h sigcontext.h sigaction.h sigset.h
+headers	:= signal.h sys/signal.h bits/signum.h bits/sigcontext.h \
+	   bits/sigaction.h bits/sigset.h
 
 routines	:= signal raise killpg \
 		   sigaction sigprocmask kill \
diff --git a/signal/signal.h b/signal/signal.h
index 995567eed8..4e5d857d10 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -29,8 +29,8 @@
 
 __BEGIN_DECLS
 
-#include <gnu/types.h>
-#include <sigset.h>		/* __sigset_t, __sig_atomic_t.  */
+#include <bits/types.h>
+#include <bits/sigset.h>		/* __sigset_t, __sig_atomic_t.  */
 
 #if !defined __sig_atomic_t_defined \
     && (defined _SIGNAL_H || defined __need_sig_atomic_t)
@@ -42,7 +42,7 @@ typedef __sig_atomic_t sig_atomic_t;
 
 #ifdef _SIGNAL_H
 
-#include <signum.h>
+#include <bits/signum.h>
 
 /* Type of a signal handler.  */
 typedef void (*__sighandler_t) __P ((int));
@@ -198,7 +198,7 @@ extern int sigorset __P ((sigset_t *__set, __const sigset_t *__left,
 
 /* Get the system-specific definitions of `struct sigaction'
    and the `SA_*' and `SIG_*'. constants.  */
-#include <sigaction.h>
+#include <bits/sigaction.h>
 
 /* Get and/or change the set of blocked signals.  */
 extern int __sigprocmask __P ((int __how,
@@ -264,7 +264,7 @@ extern int sigvec __P ((int __sig, __const struct sigvec *__vec,
 
 
 /* Get machine-dependent `struct sigcontext' and signal subcodes.  */
-#include <sigcontext.h>
+#include <bits/sigcontext.h>
 
 /* Restore the state saved in SCP.  */
 extern int __sigreturn __P ((struct sigcontext *__scp));
diff --git a/signal/sigsetops.c b/signal/sigsetops.c
index 758ddd1e22..9a3a834d5b 100644
--- a/signal/sigsetops.c
+++ b/signal/sigsetops.c
@@ -1,5 +1,5 @@
 /* Define the real-function versions of all inline functions
-   defined in signal.h (or sigset.h).  */
+   defined in signal.h (or bits/sigset.h).  */
 
 #define _EXTERN_INLINE