summaryrefslogtreecommitdiff
path: root/libc/signal/sigset-cvt-mask.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-16 12:07:43 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-16 12:07:43 +0100
commitcbff4254e48ff39f5930f972edc6dc9213161727 (patch)
treeea169911ec2f2dd49a5aae140f47fc0176756d9f /libc/signal/sigset-cvt-mask.h
parent9849c407e8e6732fbf417cb447937e3b3b9a54ec (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/signal/sigset-cvt-mask.h')
-rw-r--r--libc/signal/sigset-cvt-mask.h2
1 files changed, 2 insertions, 0 deletions
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)
{