aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-02-18 15:44:33 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-02-18 15:44:33 +0000
commitf798e3c40d53673fb00d2d5744553c1d6ba81bbb (patch)
treef8d39b1fd2fe35af268d5477b430e46a8acd6dee /etc.c
parent[w3m-dev 03758] Re: SVR4 signal behavior (diff)
downloadw3m-f798e3c40d53673fb00d2d5744553c1d6ba81bbb.tar.gz
w3m-f798e3c40d53673fb00d2d5744553c1d6ba81bbb.zip
fix indent
Diffstat (limited to '')
-rw-r--r--etc.c16
1 files changed, 8 insertions, 8 deletions
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 <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
}