X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fposix%2Fsignal.m4;h=fe0c545347e15efe12719f310ee80dd98cdceff1;hp=a9225ceb3fcc42297737985e6bb6bdeb7f9234af;hb=fb1661f43586388050fd42b9702c7beefaae08f3;hpb=5ed7e51eb19a16f6f4e280abc33a2a4281b45166 diff --git a/m4/posix/signal.m4 b/m4/posix/signal.m4 index a9225ce..fe0c545 100644 --- a/m4/posix/signal.m4 +++ b/m4/posix/signal.m4 @@ -123,14 +123,14 @@ PSI_CHECK_SIGNAL() { int ss_flags] ) - PSI_FUNCTOR_TYPE(void sa_handler, [(int signo)]) - PSI_FUNCTOR_TYPE(void sa_sigaction, [(int signo, siginfo_t *info, ucontext_t *context)]) + PSI_FUNCTOR_TYPE(void sighandler_t, [(int signo)]) + PSI_FUNCTOR_TYPE(void sigaction_t, [(int signo, siginfo_t *info, ucontext_t *context)]) PSI_STRUCT(struct sigaction, [ - sa_handler sa_handler, + sighandler_t sa_handler, sigset_t sa_mask, int sa_flags, - sa_sigaction sa_sigaction] + sigaction_t sa_sigaction] ) PSI_STRUCT(ucontext_t, [ @@ -173,13 +173,13 @@ PSI_CHECK_SIGNAL() { PSI_DECL(int sigignore, [(int sig)]) PSI_DECL(int siginterrupt, [(int sig, int flag)]) PSI_DECL(int sigismember, [(const sigset_t *set, int signum)]) - PSI_DECL(void *signal, [(int sig, void *func)]) + PSI_DECL(sighandler_t signal, [(int sig, sighandler_t *func)]) PSI_DECL(int sigpause, [(int sig)]) PSI_DECL(int sigpending, [(sigset_t *set)]) PSI_DECL(int sigprocmask, [(int how, const sigset_t *set, sigset_t *oset)]) PSI_DECL(int sigqueue, [(pid_t pid, int sig, const union sigval value)]) PSI_DECL(int sigrelse, [(int sig)]) - PSI_DECL(void *sigset, [(int sig, void *disp)]) + PSI_DECL(sighandler_t sigset, [(int sig, sighandler_t disp)]) PSI_DECL(int sigsuspend, [(const sigset_t *sigmask)]) PSI_DECL(int sigtimedwait, [(const sigset_t *set, siginfo_t *info, const struct timespec *timeout)]) PSI_DECL(int sigwait, [(const sigset_t *set, int *sig)])