diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-18 15:44:33 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-18 15:44:33 +0000 |
commit | f798e3c40d53673fb00d2d5744553c1d6ba81bbb (patch) | |
tree | f8d39b1fd2fe35af268d5477b430e46a8acd6dee /etc.c | |
parent | [w3m-dev 03758] Re: SVR4 signal behavior (diff) | |
download | w3m-f798e3c40d53673fb00d2d5744553c1d6ba81bbb.tar.gz w3m-f798e3c40d53673fb00d2d5744553c1d6ba81bbb.zip |
fix indent
Diffstat (limited to 'etc.c')
-rw-r--r-- | etc.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.65 2003/02/18 15:43:23 ukai Exp $ */ +/* $Id: etc.c,v 1.66 2003/02/18 15:44:33 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -1974,8 +1974,7 @@ FQDN(char *host) #endif /* USE_COOKIE */ -void (*mySignal(int signal_number, void (*action)(int)))(int) -{ +void (*mySignal(int signal_number, void (*action) (int))) (int) { #ifdef SA_RESTART struct sigaction new_action, old_action; @@ -1986,13 +1985,14 @@ void (*mySignal(int signal_number, void (*action)(int)))(int) new_action.sa_flags = SA_INTERRUPT; #else new_action.sa_flags = 0; -#endif - } else { - new_action.sa_flags = SA_RESTART; +#endif + } + else { + new_action.sa_flags = SA_RESTART; } sigaction(signal_number, &new_action, &old_action); - return(old_action.sa_handler); + return (old_action.sa_handler); #else - return(signal(signal_number, action)); + return (signal(signal_number, action)); #endif } |