aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-21 22:49:22 -0400
committerMike Frysinger <vapier@gentoo.org>2015-07-29 23:14:03 -0400
commit827e01851f9945a12cd62112b94ff096c968eb5d (patch)
tree57bb21ca29a37d7b21df1f6c911eabdf5790d597 /sysdeps
parent979900af9824932ed1d704323739958f46e08d81 (diff)
downloadglibc-827e01851f9945a12cd62112b94ff096c968eb5d.tar
glibc-827e01851f9945a12cd62112b94ff096c968eb5d.tar.gz
glibc-827e01851f9945a12cd62112b94ff096c968eb5d.tar.bz2
glibc-827e01851f9945a12cd62112b94ff096c968eb5d.zip
hppa: sigaction.h: change sa_flags to an int
This fixes the conform test for the sigaction.h header and makes it match all the other arches.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/sigaction.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
index ee41396394..ebe375fb1e 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
@@ -20,6 +20,8 @@
# error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
#endif
+#include <bits/wordsize.h>
+
/* Structure describing the action to be taken when a signal arrives. */
struct sigaction
{
@@ -40,7 +42,10 @@ struct sigaction
#endif
/* Special flags. */
- unsigned long int sa_flags;
+#if __WORDSIZE == 64
+ int __glibc_reserved0;
+#endif
+ int sa_flags;
/* Additional set of signals to be blocked. */
__sigset_t sa_mask;