configure: add --enable-psi-maintainer-mode
[m6w6/ext-psi] / m4 / posix / signal.m4
index fe0c545347e15efe12719f310ee80dd98cdceff1..4d954b6e89bbe0888e7beaf9b4769a68768d5b4b 100644 (file)
@@ -1,5 +1,4 @@
 PSI_CHECK_SIGNAL() {
-       PSI_CONFIG_POSIX(signal, signal.h)
        
        PSI_PTHREAD
        
@@ -163,7 +162,7 @@ PSI_CHECK_SIGNAL() {
        ])
        
        PSI_DECL(int raise, [(int sig)])
-       PSI_DECL(int sigaction, [(int sig, const struct sigaction *act, struct sigaction *oact)])
+       PSI_DECL(int sigaction, [(int sig, struct sigaction *act, struct sigaction *oact)])
        PSI_DECL(int sigaddset, [(sigset_t * set, int signum)])
        PSI_DECL(int sigaltstack, [(const stack_t *ss, stack_t *oss)])
        PSI_DECL(int sigdelset, [(sigset_t *set, int signum)])
@@ -173,7 +172,7 @@ 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(sighandler_t signal, [(int sig, sighandler_t *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)])