Properly fix building posix sources this time.
Reported by: markm
This commit is contained in:
parent
8b7690ea77
commit
ea00c9343b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52308
@ -131,6 +131,15 @@ union sigval {
|
||||
void *sigval_ptr;
|
||||
};
|
||||
|
||||
struct sigevent {
|
||||
int sigev_notify; /* Notification type */
|
||||
int sigev_signo; /* Signal number */
|
||||
union sigval sigev_value; /* Signal value */
|
||||
};
|
||||
|
||||
#define SIGEV_NONE 0 /* No async notification */
|
||||
#define SIGEV_SIGNAL 1 /* Generate a queued signal */
|
||||
|
||||
typedef struct __siginfo {
|
||||
int si_signo; /* signal number */
|
||||
int si_errno; /* errno association */
|
||||
@ -209,7 +218,7 @@ struct sigaction {
|
||||
/* Additional FreeBSD values. */
|
||||
#define SI_UNDEFINED 0
|
||||
|
||||
typedef void __siginfohandler_t __P((int, siginfo_t *, void *));
|
||||
typedef void __siginfohandler_t __P((int, struct __siginfo *, void *));
|
||||
|
||||
typedef __sighandler_t *sig_t; /* type of pointer to a signal function */
|
||||
|
||||
@ -278,17 +287,6 @@ struct sigstack {
|
||||
#define SIG_UNBLOCK 2 /* unblock specified signal set */
|
||||
#define SIG_SETMASK 3 /* set specified signal set */
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
struct sigevent {
|
||||
int sigev_notify; /* Notification type */
|
||||
int sigev_signo; /* Signal number */
|
||||
union sigval sigev_value; /* Signal value */
|
||||
};
|
||||
|
||||
#define SIGEV_NONE 0 /* No async notification */
|
||||
#define SIGEV_SIGNAL 1 /* Generate a queued signal */
|
||||
#endif
|
||||
|
||||
#endif /* !_ANSI_SOURCE */
|
||||
|
||||
/*
|
||||
|
@ -131,6 +131,15 @@ union sigval {
|
||||
void *sigval_ptr;
|
||||
};
|
||||
|
||||
struct sigevent {
|
||||
int sigev_notify; /* Notification type */
|
||||
int sigev_signo; /* Signal number */
|
||||
union sigval sigev_value; /* Signal value */
|
||||
};
|
||||
|
||||
#define SIGEV_NONE 0 /* No async notification */
|
||||
#define SIGEV_SIGNAL 1 /* Generate a queued signal */
|
||||
|
||||
typedef struct __siginfo {
|
||||
int si_signo; /* signal number */
|
||||
int si_errno; /* errno association */
|
||||
@ -209,7 +218,7 @@ struct sigaction {
|
||||
/* Additional FreeBSD values. */
|
||||
#define SI_UNDEFINED 0
|
||||
|
||||
typedef void __siginfohandler_t __P((int, siginfo_t *, void *));
|
||||
typedef void __siginfohandler_t __P((int, struct __siginfo *, void *));
|
||||
|
||||
typedef __sighandler_t *sig_t; /* type of pointer to a signal function */
|
||||
|
||||
@ -278,17 +287,6 @@ struct sigstack {
|
||||
#define SIG_UNBLOCK 2 /* unblock specified signal set */
|
||||
#define SIG_SETMASK 3 /* set specified signal set */
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
struct sigevent {
|
||||
int sigev_notify; /* Notification type */
|
||||
int sigev_signo; /* Signal number */
|
||||
union sigval sigev_value; /* Signal value */
|
||||
};
|
||||
|
||||
#define SIGEV_NONE 0 /* No async notification */
|
||||
#define SIGEV_SIGNAL 1 /* Generate a queued signal */
|
||||
#endif
|
||||
|
||||
#endif /* !_ANSI_SOURCE */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user