summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-08 16:24:49 (GMT)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 12:00:44 (GMT)
commitc0a3eaf88aa51f49927fe07ddca025f3bc31f5ac (patch)
treef2a9d3e15edc2d476b7af788c0e3da7dd7d252f3 /libc/signal
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/signal')
-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 d4c2dc7..93ea36f 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