diff options
-rw-r--r-- | bsd-sigaction.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/bsd-sigaction.h b/bsd-sigaction.h index c968b0031..b37c1f84a 100644 --- a/bsd-sigaction.h +++ b/bsd-sigaction.h | |||
@@ -67,28 +67,14 @@ struct sigaction | |||
67 | struct sigvec sv; | 67 | struct sigvec sv; |
68 | }; | 68 | }; |
69 | 69 | ||
70 | #define sigset_t _nc_sigset_t | ||
71 | typedef unsigned long sigset_t; | 70 | typedef unsigned long sigset_t; |
72 | 71 | ||
73 | #undef sa_mask | 72 | #undef sa_mask |
74 | #define sa_mask sv_mask | 73 | #define sa_mask sv.sv_mask |
75 | #undef sa_handler | 74 | #undef sa_handler |
76 | #define sa_handler sv_handler | 75 | #define sa_handler sv.sv_handler |
77 | #undef sa_flags | 76 | #undef sa_flags |
78 | #define sa_flags sv_flags | 77 | #define sa_flags sv.sv_flags |
79 | |||
80 | #undef sigaction | ||
81 | #define sigaction _nc_sigaction | ||
82 | #undef sigprocmask | ||
83 | #define sigprocmask _nc_sigprocmask | ||
84 | #undef sigemptyset | ||
85 | #define sigemptyset _nc_sigemptyset | ||
86 | #undef sigsuspend | ||
87 | #define sigsuspend _nc_sigsuspend | ||
88 | #undef sigdelset | ||
89 | #define sigdelset _nc_sigdelset | ||
90 | #undef sigaddset | ||
91 | #define sigaddset _nc_sigaddset | ||
92 | 78 | ||
93 | int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact); | 79 | int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact); |
94 | int sigprocmask (int how, sigset_t *mask, sigset_t *omask); | 80 | int sigprocmask (int how, sigset_t *mask, sigset_t *omask); |