From 5fe27def6552bb8794121d1984ffc16176fb2f08 Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 7 Feb 2014 22:19:40 +0000 Subject: No need for sigfd to be defined at file scope --- sinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sinit.c b/sinit.c index 3f1626c..c18146b 100644 --- a/sinit.c +++ b/sinit.c @@ -34,8 +34,6 @@ static Sigmap dispatchsig[] = { { SIGINT, sigreboot }, }; -static int sigfd = -1; - #include "config.h" int @@ -43,6 +41,7 @@ main(void) { struct signalfd_siginfo siginfo; sigset_t sigset; + int sigfd; int i; int ret; ssize_t n; -- cgit v1.2.3-70-g09d2