summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/sigblock.c2
-rw-r--r--libc/signal/sigpause.c1
-rw-r--r--libc/signal/sigset-cvt-mask.h2
-rw-r--r--libc/signal/sigsetmask.c2
4 files changed, 2 insertions, 5 deletions
diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c
index c3b79d9ab..ad3acb0be 100644
--- a/libc/signal/sigblock.c
+++ b/libc/signal/sigblock.c
@@ -19,8 +19,6 @@
#define __UCLIBC_HIDE_DEPRECATED__
#include <errno.h>
#include <signal.h>
-#include <string.h>
-
#include "sigset-cvt-mask.h"
diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c
index e465fac7a..5280ee0a6 100644
--- a/libc/signal/sigpause.c
+++ b/libc/signal/sigpause.c
@@ -25,7 +25,6 @@
#include <stddef.h> /* For NULL. */
#include <string.h>
-
#include "sigset-cvt-mask.h"
/* Set the mask of blocked signals to MASK,
diff --git a/libc/signal/sigset-cvt-mask.h b/libc/signal/sigset-cvt-mask.h
index 76dd01c7e..d4c2dc7ca 100644
--- a/libc/signal/sigset-cvt-mask.h
+++ b/libc/signal/sigset-cvt-mask.h
@@ -19,6 +19,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <string.h>
+
static __inline__ void __attribute__ ((unused))
sigset_set_old_mask (sigset_t *set, int mask)
{
diff --git a/libc/signal/sigsetmask.c b/libc/signal/sigsetmask.c
index 6d0a505a7..64c8ad687 100644
--- a/libc/signal/sigsetmask.c
+++ b/libc/signal/sigsetmask.c
@@ -19,8 +19,6 @@
#define __UCLIBC_HIDE_DEPRECATED__
#include <errno.h>
#include <signal.h>
-#include <string.h>
-
#include "sigset-cvt-mask.h"