diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-03-14 19:00:08 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-03-14 19:03:53 +0100 |
commit | 9c9fd5da15573a702efe5adc054c96a9eb8aa0ce (patch) | |
tree | 47b14650b9dc34e032a9e744651b1b921365d206 /src/sigs.c | |
parent | 55262a30743095ad4dbc14dc06f4487be11f9bd8 (diff) | |
download | calcurse-9c9fd5da15573a702efe5adc054c96a9eb8aa0ce.zip |
Overall indentation fixes.
Use spaces instead of tabs for source code indentation only, strip
trailing whitespaces from lines.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/sigs.c')
-rw-r--r-- | src/sigs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,7 +43,7 @@ #include "calcurse.h" -/* +/* * General signal handling routine. * Catch return values from children (user-defined notification commands). * This is needed to avoid zombie processes running on system. @@ -56,7 +56,7 @@ generic_hdlr (int sig) { case SIGCHLD: while (waitpid (WAIT_MYPGRP, NULL, WNOHANG) > 0) - ; + ; break; case SIGWINCH: clearok (curscr, TRUE); @@ -98,7 +98,7 @@ sigs_init () { if (!sigs_set_hdlr (SIGCHLD, generic_hdlr) || !sigs_set_hdlr (SIGWINCH, generic_hdlr) - || !sigs_set_hdlr (SIGTERM, generic_hdlr) + || !sigs_set_hdlr (SIGTERM, generic_hdlr) || !sigs_set_hdlr (SIGINT, SIG_IGN)) exit_calcurse (1); } |