From 414f928ac58278188638f8146a28a5747909de7b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 30 Nov 2018 19:45:34 -0500 Subject: Handle signals consistently in the event loop --- chat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index f0d396d..e8f9378 100644 --- a/chat.h +++ b/chat.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -43,7 +44,7 @@ void selfJoin(const char *join); void eventWait(const char *argv[static 2]); void eventPipe(const char *argv[static 2]); -void eventLoop(void); +noreturn void eventLoop(void); struct Tag { size_t id; -- cgit 1.4.1