aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal.h')
-rw-r--r--src/signal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/signal.h b/src/signal.h
index d06ab6d..95dca41 100644
--- a/src/signal.h
+++ b/src/signal.h
@@ -3,7 +3,6 @@
#include "compiler.h"
-#include <pthread.h>
#include <signal.h>
#include <string.h>
@@ -25,6 +24,9 @@ static __attribute__((constructor)) void signal_handler_install()
sigaction(SIGTERM, &sa, NULL);
}
-int signal_set_thread_attr(pthread_attr_t *attr);
+int signal_set(const sigset_t *new, sigset_t *old);
+
+int signal_block_parent(sigset_t *old);
+int signal_block_child();
#endif