summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-08 18:24:49 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:44 +0200
commitc0a3eaf88aa51f49927fe07ddca025f3bc31f5ac (patch)
treef2a9d3e15edc2d476b7af788c0e3da7dd7d252f3 /libc
parent5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594 (diff)
sigset-cvt-mask.h: add a guard to allow including it twice
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/signal/sigset-cvt-mask.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/signal/sigset-cvt-mask.h b/libc/signal/sigset-cvt-mask.h
index d4c2dc7ca..93ea36f5e 100644
--- a/libc/signal/sigset-cvt-mask.h
+++ b/libc/signal/sigset-cvt-mask.h
@@ -19,6 +19,9 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#ifndef _SIGSET_CVT_MASK_H
+#define _SIGSET_CVT_MASK_H
+
#include <string.h>
static __inline__ void __attribute__ ((unused))
@@ -36,3 +39,5 @@ sigset_get_old_mask (const sigset_t *set)
{
return (unsigned int) set->__val[0];
}
+
+#endif