diff options
Diffstat (limited to 'src/signal.c')
-rw-r--r-- | src/signal.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/signal.c b/src/signal.c index 1f4a9cc..15d90ab 100644 --- a/src/signal.c +++ b/src/signal.c @@ -7,11 +7,9 @@ #include "signal.h" #include "compiler.h" -#include "event_loop.h" #include "file.h" #include "log.h" -#include <poll.h> #include <signal.h> #include <stddef.h> #include <sys/signalfd.h> @@ -89,8 +87,3 @@ void signalfd_destroy(int fd) { file_close(fd); } - -int signalfd_add_to_event_loop(int fd, struct event_loop *loop, event_handler handler, void *arg) -{ - return event_loop_add(loop, fd, POLLIN, handler, arg); -} |