From b6564992c1c85d3d36edf9b6ec397fa40c36d7ce Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Jun 2023 02:16:28 +0200 Subject: signal: refactoring --- src/signal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/signal.h') diff --git a/src/signal.h b/src/signal.h index 0dda6ee..b049c3f 100644 --- a/src/signal.h +++ b/src/signal.h @@ -12,16 +12,16 @@ #include -int signal_block_all(sigset_t *old); -int signal_block_stops(void); +int signal_set_mask(const sigset_t *new); -int signal_restore(const sigset_t *new); +int signal_block_all(sigset_t *old); +int signal_block_sigterms(void); int signalfd_create(const sigset_t *); void signalfd_destroy(int fd); int signalfd_add_to_event_loop(int fd, struct event_loop *, event_handler handler, void *arg); -int signalfd_listen_for_stops(void); +int signalfd_create_sigterms(void); #endif -- cgit v1.2.3