diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-08 17:51:52 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-08 17:51:52 +0000 |
commit | cb236290e267f17d5f81a18d742b81f1b74b05a2 (patch) | |
tree | e6c74acdaa0881bb8accab285d77f146381b2f81 /daemon.c | |
parent | 7b11f0ff9972d8046e69f98948fdab26b5199caf (diff) | |
download | fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.tar.gz fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.tar.bz2 fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.zip |
Prototypes everywhere.
svn path=/trunk/; revision=515
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -34,7 +34,7 @@ #include "fetchmail.h" RETSIGTYPE -sigchld_handler () +sigchld_handler (int sig) /* process SIGCHLD/SIGCLD to obtain the exit code of the terminating process */ { pid_t pid; @@ -58,10 +58,8 @@ sigchld_handler () } int -daemonize (logfile, termhook) +daemonize (const char *logfile, void (*termhook)(int)) /* detach from control TTY, become process group leader, catch SIGCHLD */ -const char *logfile; -void (*termhook)(int); { int fd; pid_t childpid; |