[git commit] sigset-cvt-mask.h: add a guard to allow including it twice

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:44 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=c0a3eaf88aa51f49927fe07ddca025f3bc31f5ac
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/signal/sigset-cvt-mask.h |    5 +++++
 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


More information about the uClibc-cvs mailing list