From d984ff798f88c71abb703e4ac92ee8477b1e8eb3 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 21 Dec 2017 22:21:37 +0100 Subject: remove own SIGINT handler, the default handler works well enough --- extrace.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/extrace.c b/extrace.c index f22db7f..16a227b 100644 --- a/extrace.c +++ b/extrace.c @@ -185,13 +185,6 @@ sig2name(int sig) } } -static void -sigint(int sig) -{ - (void)sig; - quit = 1; -} - static void sigchld(int sig) { @@ -493,8 +486,6 @@ usage: } } - signal(SIGINT, sigint); - rc = 0; while (!quit) { cmsg = (struct cn_msg *)(buff + sizeof (struct nlmsghdr)); -- cgit 1.4.1