OSDN Git Service

sigset-cvt-mask.h: add a guard to allow including it twice
authorPeter S. Mazinger <ps.m@gmx.net>
Sun, 8 May 2011 16:24:49 +0000 (18:24 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:44 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/signal/sigset-cvt-mask.h

index d4c2dc7..93ea36f 100644 (file)
@@ -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