summaryrefslogtreecommitdiff
path: root/bsd-daemon.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-08-30 09:21:22 +1100
committerDamien Miller <djm@mindrot.org>2000-08-30 09:21:22 +1100
commit87d29ed405ce6a6aa56660c9c696f6b78a709034 (patch)
tree1e835a3e9e18b7956b511860e9186f52ea9679c3 /bsd-daemon.c
parente5192fafbfbc49afaa64c7b9f3c8d90efe2f1297 (diff)
- (djm) Compile warning fixes from Mark Miller <markm@swoon.net>
Diffstat (limited to 'bsd-daemon.c')
-rw-r--r--bsd-daemon.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/bsd-daemon.c b/bsd-daemon.c
index fe92b76b6..de829958c 100644
--- a/bsd-daemon.c
+++ b/bsd-daemon.c
@@ -31,7 +31,7 @@
31 * SUCH DAMAGE. 31 * SUCH DAMAGE.
32 */ 32 */
33 33
34#include "config.h" 34#include "includes.h"
35 35
36#ifndef HAVE_DAEMON 36#ifndef HAVE_DAEMON
37 37
@@ -39,13 +39,6 @@
39static char rcsid[] = "$OpenBSD: daemon.c,v 1.2 1996/08/19 08:22:13 tholo Exp $"; 39static char rcsid[] = "$OpenBSD: daemon.c,v 1.2 1996/08/19 08:22:13 tholo Exp $";
40#endif /* LIBC_SCCS and not lint */ 40#endif /* LIBC_SCCS and not lint */
41 41
42#include <fcntl.h>
43#include <unistd.h>
44
45#ifdef HAVE_PATHS_H
46# include <paths.h>
47#endif
48
49int 42int
50daemon(nochdir, noclose) 43daemon(nochdir, noclose)
51 int nochdir, noclose; 44 int nochdir, noclose;