Przeglądaj źródła

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 14 lat temu
rodzic
commit
ab38c21ada
3 zmienionych plików z 0 dodań i 5 usunięć
  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__
 #include <errno.h>
 #include <signal.h>
-#include <string.h>
-
 
 #include "sigset-cvt-mask.h"
 

+ 0 - 1
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,

+ 0 - 2
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"