diff options
author | bde <bde@FreeBSD.org> | 2002-06-20 09:04:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-06-20 09:04:33 +0000 |
commit | 2d87176dd534a111eb7263e2513276e6586127b5 (patch) | |
tree | 460a5c60729f4d567886cea5dcaa0c6dba420758 /sys/sys/_sigset.h | |
parent | 74d7d809a7048da384515eec5b432f5746286184 (diff) | |
download | FreeBSD-src-2d87176dd534a111eb7263e2513276e6586127b5.zip FreeBSD-src-2d87176dd534a111eb7263e2513276e6586127b5.tar.gz |
Quick fix for the type of the bitmap in sigset_t. It was an array of
4 u_ints but needs to be an array of 4 uint32_t's to work, at least
if unsigned ints have less than 32 bits. It should be a non-array of
1 uint128_t on 128-bit machines, especially if u_int has 128 bits.
The headers that declare uint32_t (actually __uint32_t) are intentionally
not included here since this header should only be included by other
headers.
Fixed some style bugs (space instead of tab after #ifndef and #endif).
Diffstat (limited to 'sys/sys/_sigset.h')
-rw-r--r-- | sys/sys/_sigset.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/_sigset.h b/sys/sys/_sigset.h index cadbc5a..3800316 100644 --- a/sys/sys/_sigset.h +++ b/sys/sys/_sigset.h @@ -39,7 +39,7 @@ * $FreeBSD$ */ -#ifndef _SYS__SIGSET_H_ +#ifndef _SYS__SIGSET_H_ #define _SYS__SIGSET_H_ /* @@ -53,7 +53,7 @@ #define _SIG_VALID(sig) ((sig) <= _SIG_MAXSIG && (sig) > 0) typedef struct __sigset { - unsigned int __bits[_SIG_WORDS]; + __uint32_t __bits[_SIG_WORDS]; } sigset_t; -#endif /* !_SYS__SIGSET_H_ */ +#endif /* !_SYS__SIGSET_H_ */ |