aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-26 22:21:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-26 22:21:16 +0000
commiteabdfb5e1ebf83147017c57db3659e7b2e8ecad1 (patch)
tree338308dc0519869dd03d3ae33071d3ef6fa8cd67 /daemon.c
parentd59e69783b91feb5d3ee5d2ba802c279ecf021c5 (diff)
downloadfetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.tar.gz
fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.tar.bz2
fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.zip
gcc -Wall cleanup.
svn path=/trunk/; revision=396
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 27449e35..ead23641 100644
--- a/daemon.c
+++ b/daemon.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <sys/file.h>
#include <signal.h>
#include <fcntl.h>
@@ -20,6 +21,10 @@
# include <unistd.h>
#endif
+#if defined(STDC_HEADERS)
+#include <stdlib.h>
+#endif
+
#if defined(QNX)
# include <unix.h>
#endif
@@ -174,6 +179,8 @@ nottyDetach:
#if defined(SIGPWR)
signal(SIGPWR, sigchld_handler);
#endif
+
+ return(0);
}
/* daemon.c ends here */