summaryrefslogtreecommitdiff
path: root/openbsd-compat/daemon.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:10:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:10:51 +0000
commitaf4a6c3a5619299a16cfbb545cde110849596204 (patch)
tree4145a5d683ef920d9c1068c09d028e1ce5a73d96 /openbsd-compat/daemon.c
parent331b6af8fa96417cf126383de7e2ed024b7c7e2c (diff)
- (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications
and minor fixes.
Diffstat (limited to 'openbsd-compat/daemon.c')
-rw-r--r--openbsd-compat/daemon.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/openbsd-compat/daemon.c b/openbsd-compat/daemon.c
index 06625127..6dd45f6a 100644
--- a/openbsd-compat/daemon.c
+++ b/openbsd-compat/daemon.c
@@ -32,12 +32,11 @@
#ifndef HAVE_DAEMON
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: daemon.c,v 1.3 2003/06/02 20:18:34 millert Exp $";
+static char rcsid[] = "$OpenBSD: daemon.c,v 1.5 2003/07/15 17:32:41 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
int
-daemon(nochdir, noclose)
- int nochdir, noclose;
+daemon(int nochdir, int noclose)
{
int fd;