]> sourceware.org Git - glibc.git/commitdiff
hurd: Fix includability of <hurd/signal.h> in all standards
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 5 Mar 2018 01:17:52 +0000 (02:17 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 5 Mar 2018 21:50:29 +0000 (22:50 +0100)
* bits/sigaction.h: Add include guard.
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
* hurd/hurd/signal.h: Include <bits/sigaction.h>.

ChangeLog
bits/sigaction.h
hurd/hurd/signal.h
sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
sysdeps/unix/sysv/linux/bits/sigaction.h
sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
sysdeps/unix/sysv/linux/mips/bits/sigaction.h
sysdeps/unix/sysv/linux/s390/bits/sigaction.h
sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
sysdeps/unix/sysv/linux/tile/bits/sigaction.h

index dc0dc43a2c0b03b51efe0d6e488bd741a3d01143..f586c3f55e59d3c1663b76659b43d56316cd04d9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2018-03-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * bits/sigaction.h: Add include guard.
+       * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
+       * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
+       * hurd/hurd/signal.h: Include <bits/sigaction.h>.
+
 2018-03-05  Joseph Myers  <joseph@codesourcery.com>
 
        * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
index 97ce95f7b3350fc00a0608ac5bad03035605b549..7797017c299ab83973c588e68663afb3fc328f4e 100644 (file)
@@ -15,6 +15,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -77,3 +80,5 @@ struct sigaction
 #define        SIG_BLOCK       1       /* Block signals.  */
 #define        SIG_UNBLOCK     2       /* Unblock signals.  */
 #define        SIG_SETMASK     3       /* Set the set of blocked signals.  */
+
+#endif
index d4edf317a1d3c96eb912d267c448fa7e24df3cd0..0e3315a6feaa6b62a6533d279f2d2e706fb57b7b 100644 (file)
@@ -34,6 +34,7 @@
 #include <bits/types/error_t.h>
 #include <bits/types/stack_t.h>
 #include <bits/types/sigset_t.h>
+#include <bits/sigaction.h>
 #include <hurd/msg.h>
 
 #include <cthreads.h>          /* For `struct mutex'.  */
index 17003fba20d59b77c977e3528fc9905b18d94b14..2700a4ac1232987d49d0cfcf6f7eaedc94669abd 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -73,3 +76,5 @@ struct sigaction
 #define        SIG_BLOCK     1          /* Block signals.  */
 #define        SIG_UNBLOCK   2          /* Unblock signals.  */
 #define        SIG_SETMASK   3          /* Set the set of blocked signals.  */
+
+#endif
index fd29373e108775c047aa00e2a0d592cf00753de7..a4225c87879fd0240724e99f0f111a12e0631072 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -76,3 +79,5 @@ struct sigaction
 #define        SIG_BLOCK     0          /* Block signals.  */
 #define        SIG_UNBLOCK   1          /* Unblock signals.  */
 #define        SIG_SETMASK   2          /* Set the set of blocked signals.  */
+
+#endif
index 0fa10ef8996b1ad64ea10271f515cf047a921290..09b9e4e4e61db787a5633c5969a7c0aa1daa7ee3 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -79,3 +82,5 @@ struct sigaction
 #define SIG_BLOCK          0   /* for blocking signals */
 #define SIG_UNBLOCK        1   /* for unblocking signals */
 #define SIG_SETMASK        2   /* for setting the signal mask */
+
+#endif
index 2c0f875031ca03cdcd05b398c9b786aaef714892..76edba2debacb8c343a7cc75cced3e6200d600c5 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -73,3 +76,5 @@ struct sigaction
 #define SIG_BLOCK          0   /* for blocking signals */
 #define SIG_UNBLOCK        1   /* for unblocking signals */
 #define SIG_SETMASK        2   /* for setting the signal mask */
+
+#endif
index 67c9aa501edd8290087034d48fd4e0574d6aa347..4fb062648307733f892621fbc17ece710c5c98ce 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -87,3 +90,5 @@ struct sigaction
 # define SIG_SETMASK32 256     /* Goodie from SGI for BSD compatibility:
                                   set only the low 32 bit of the sigset.  */
 #endif
+
+#endif
index e5bcf411103e62ec026d6536b7e9239b819f2050..50c86cc52782a0d99a0c46f55797d707eec1737f 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -110,3 +113,5 @@ struct sigaction
 #define        SIG_BLOCK     0          /* Block signals.  */
 #define        SIG_UNBLOCK   1          /* Unblock signals.  */
 #define        SIG_SETMASK   2          /* Set the set of blocked signals.  */
+
+#endif
index af9e3dc68a392b52460496b16e611e5c378f901c..8d4665a607378d1af7c8e687a9f1d8cd772c1bee 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -82,3 +85,5 @@ struct sigaction
 #define        SIG_BLOCK     1          /* Block signals.  */
 #define        SIG_UNBLOCK   2          /* Unblock signals.  */
 #define        SIG_SETMASK   4          /* Set the set of blocked signals.  */
+
+#endif
index f0e0474507173fde7d4795d91974bf1fe9650aff..d0467bdc2b919694a8db2240aec5f68402cc2d89 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -77,3 +80,5 @@ struct sigaction
 #define        SIG_BLOCK     0          /* Block signals.  */
 #define        SIG_UNBLOCK   1          /* Unblock signals.  */
 #define        SIG_SETMASK   2          /* Set the set of blocked signals.  */
+
+#endif
This page took 0.091904 seconds and 5 git commands to generate.