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).
This commit is contained in:
bde 2002-06-20 09:04:33 +00:00
parent 74d7d809a7
commit 2d87176dd5

View File

@ -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_ */