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:
Bruce Evans 2002-06-20 09:04:33 +00:00
parent 5271c18857
commit c7143344b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98487

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