diff options
author | sin <sin@2f30.org> | 2014-02-07 22:19:40 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-02-07 22:19:40 +0000 |
commit | 5fe27def6552bb8794121d1984ffc16176fb2f08 (patch) | |
tree | 94ffc7767fc5e173d042837657d37bbf04d43255 | |
parent | c1a8eb796394bae62f27e54c7929820420538e44 (diff) |
No need for sigfd to be defined at file scope
-rw-r--r-- | sinit.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |