diff options
Diffstat (limited to '')
-rw-r--r-- | src/daemon.c | 4 | ||||
-rw-r--r-- | src/daemon.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon.c b/src/daemon.c index 9d4379a..c408620 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -1,4 +1,4 @@ -/* $Id: daemon.c,v 1.5 2005-08-15 03:54:31 rjkaes Exp $ +/* $Id: daemon.c,v 1.6 2005-08-15 18:35:09 rjkaes Exp $ * * This file contains functions which are useful when writing a * daemon process. The functions include a "makedaemon" function and @@ -56,7 +56,7 @@ makedaemon(void) * to handle signals sent to the process. */ signal_func * -set_signal_handler(int signo, signal_func * func) +set_signal_handler(int signo, signal_func *func) { struct sigaction act, oact; diff --git a/src/daemon.h b/src/daemon.h index 2b7432e..7636406 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -1,4 +1,4 @@ -/* $Id: daemon.h,v 1.3 2005-08-15 03:54:31 rjkaes Exp $ +/* $Id: daemon.h,v 1.4 2005-08-15 18:35:09 rjkaes Exp $ * * See 'daemon.c' for a detailed description. * @@ -18,12 +18,12 @@ #ifndef TINYPROXY_DAEMON_H #define TINYPROXY_DAEMON_H -typedef void signal_func(int); +typedef void signal_func (int); /* * Pass a singal integer and a function to handle the signal. */ -extern signal_func *set_signal_handler(int signo, signal_func * func); +extern signal_func *set_signal_handler(int signo, signal_func *func); /* * Make a program a daemon process |