summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-16 09:17:45 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-16 11:59:18 +0100
commitab38c21ada116672ceed99e4f387dd93ac8e2dd2 (patch)
tree134ee11594db27b789fdb320b34f3f52607dd317 /libc
parentae030fbef45996424def8c4b0bb5cb1c26b5bd9d (diff)
libc: Add missing header for memset
Silence compiler warning by adding the missing string.h header to include memset prototype. Do some code tidy-up removing commented out libc_hidden_proto macros in the meanwhile. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/signal/sigblock.c2
-rw-r--r--libc/signal/sigpause.c1
-rw-r--r--libc/signal/sigsetmask.c2
3 files changed, 0 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 8c4e83e76..0856ba2e6 100644
--- a/libc/signal/sigpause.c
+++ b/libc/signal/sigpause.c
@@ -27,7 +27,6 @@
#include <sysdep-cancel.h>
#endif
-
#include "sigset-cvt-mask.h"
/* Set the mask of blocked signals to 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"