OSDN Git Service

libc: Add missing header for memset
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 16 Dec 2009 08:17:45 +0000 (09:17 +0100)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 16 Dec 2009 10:59:18 +0000 (11:59 +0100)
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>
libc/signal/sigblock.c
libc/signal/sigpause.c
libc/signal/sigsetmask.c

index c3b79d9..ad3acb0 100644 (file)
@@ -19,8 +19,6 @@
 #define __UCLIBC_HIDE_DEPRECATED__
 #include <errno.h>
 #include <signal.h>
-#include <string.h>
-
 
 #include "sigset-cvt-mask.h"
 
index 8c4e83e..0856ba2 100644 (file)
@@ -27,7 +27,6 @@
 #include <sysdep-cancel.h>
 #endif
 
-
 #include "sigset-cvt-mask.h"
 
 /* Set the mask of blocked signals to MASK,
index 6d0a505..64c8ad6 100644 (file)
@@ -19,8 +19,6 @@
 #define __UCLIBC_HIDE_DEPRECATED__
 #include <errno.h>
 #include <signal.h>
-#include <string.h>
-
 
 #include "sigset-cvt-mask.h"