From f798e3c40d53673fb00d2d5744553c1d6ba81bbb Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 18 Feb 2003 15:44:33 +0000 Subject: fix indent --- etc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'etc.c') diff --git a/etc.c b/etc.c index 97dc72e..6bc2b0e 100644 --- a/etc.c +++ b/etc.c @@ -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 #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 } -- cgit v1.2.3