mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
Change <sys/_sigset.h> to typedef __sigset_t instead of sigset_t, so
that headers that include it can conditionalize sigset_t's visibility.
This commit is contained in:
parent
0d29446006
commit
229aeecbbf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104504
@ -54,6 +54,6 @@
|
|||||||
|
|
||||||
typedef struct __sigset {
|
typedef struct __sigset {
|
||||||
__uint32_t __bits[_SIG_WORDS];
|
__uint32_t __bits[_SIG_WORDS];
|
||||||
} sigset_t;
|
} __sigset_t;
|
||||||
|
|
||||||
#endif /* !_SYS__SIGSET_H_ */
|
#endif /* !_SYS__SIGSET_H_ */
|
||||||
|
@ -54,6 +54,11 @@ typedef unsigned long __fd_mask;
|
|||||||
typedef __fd_mask fd_mask;
|
typedef __fd_mask fd_mask;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _SIGSET_T_DECLARED
|
||||||
|
#define _SIGSET_T_DECLARED
|
||||||
|
typedef __sigset_t sigset_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Select uses bit masks of file descriptors in longs. These macros
|
* Select uses bit masks of file descriptors in longs. These macros
|
||||||
* manipulate such bit fields (the filesystem macros use chars).
|
* manipulate such bit fields (the filesystem macros use chars).
|
||||||
|
@ -94,6 +94,12 @@
|
|||||||
#define SIGUSR1 30 /* user defined signal 1 */
|
#define SIGUSR1 30 /* user defined signal 1 */
|
||||||
#define SIGUSR2 31 /* user defined signal 2 */
|
#define SIGUSR2 31 /* user defined signal 2 */
|
||||||
|
|
||||||
|
/* XXX needs namespace conditional. */
|
||||||
|
#ifndef _SIGSET_T_DECLARED
|
||||||
|
#define _SIGSET_T_DECLARED
|
||||||
|
typedef __sigset_t sigset_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Type of a signal handling function.
|
* Type of a signal handling function.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user