Explorar el Código

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>
Carmelo Amoroso hace 14 años
padre
commit
ab38c21ada
Se han modificado 3 ficheros con 0 adiciones y 5 borrados
  1. 0 2
      libc/signal/sigblock.c
  2. 0 1
      libc/signal/sigpause.c
  3. 0 2
      libc/signal/sigsetmask.c

+ 0 - 2
libc/signal/sigblock.c

@@ -19,8 +19,6 @@
 #define __UCLIBC_HIDE_DEPRECATED__
 #define __UCLIBC_HIDE_DEPRECATED__
 #include <errno.h>
 #include <errno.h>
 #include <signal.h>
 #include <signal.h>
-#include <string.h>
-
 
 
 #include "sigset-cvt-mask.h"
 #include "sigset-cvt-mask.h"
 
 

+ 0 - 1
libc/signal/sigpause.c

@@ -27,7 +27,6 @@
 #include <sysdep-cancel.h>
 #include <sysdep-cancel.h>
 #endif
 #endif
 
 
-
 #include "sigset-cvt-mask.h"
 #include "sigset-cvt-mask.h"
 
 
 /* Set the mask of blocked signals to MASK,
 /* Set the mask of blocked signals to MASK,

+ 0 - 2
libc/signal/sigsetmask.c

@@ -19,8 +19,6 @@
 #define __UCLIBC_HIDE_DEPRECATED__
 #define __UCLIBC_HIDE_DEPRECATED__
 #include <errno.h>
 #include <errno.h>
 #include <signal.h>
 #include <signal.h>
-#include <string.h>
-
 
 
 #include "sigset-cvt-mask.h"
 #include "sigset-cvt-mask.h"