[Glibc-bsd-commits] r1996 - trunk/glibc-ports/kfreebsd/bits
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Sun Sep 9 16:53:57 UTC 2007
Author: aurel32
Date: 2007-09-09 16:53:57 +0000 (Sun, 09 Sep 2007)
New Revision: 1996
Modified:
trunk/glibc-ports/kfreebsd/bits/sigset.h
Log:
Update bits/sigset.h from the GNU/Linux version
Modified: trunk/glibc-ports/kfreebsd/bits/sigset.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/sigset.h 2007-08-16 19:45:48 UTC (rev 1995)
+++ trunk/glibc-ports/kfreebsd/bits/sigset.h 2007-09-09 16:53:57 UTC (rev 1996)
@@ -17,13 +17,12 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#ifndef _SIGSET_H_types
-#define _SIGSET_H_types 1
+#ifndef _SIGSET_H_types
+# define _SIGSET_H_types 1
typedef int __sig_atomic_t;
/* A `sigset_t' has a bit for each signal. */
-__extension__
typedef struct
{
union
@@ -33,22 +32,23 @@
};
} __sigset_t;
-#endif /* ! _SIGSET_H_types */
+#endif
+
/* We only want to define these functions if <signal.h> was actually
included; otherwise we were included just to define the types. Since we
are namespace-clean, it wouldn't hurt to define extra macros. But
trouble can be caused by functions being defined (e.g., any global
register vars declared later will cause compilation errors). */
-#if !defined (_SIGSET_H_fns) && defined (_SIGNAL_H)
-#define _SIGSET_H_fns 1
+#if !defined _SIGSET_H_fns && defined _SIGNAL_H
+# define _SIGSET_H_fns 1
# ifndef _EXTERN_INLINE
-# define _EXTERN_INLINE extern __inline
+# define _EXTERN_INLINE __extern_inline
# endif
-/* Return a mask that includes SIG only. */
+/* Return a mask that includes the bit for SIG only. */
# define __sigmask(sig) ((unsigned int) 1 << ((sig) - 1) % 32)
/* Return the word index for SIG. */
@@ -137,4 +137,4 @@
# endif
-#endif /* ! _SIGSET_H_fns */
+#endif /* ! _SIGSET_H_fns. */
More information about the Glibc-bsd-commits
mailing list