From f723aa391085d188652b94aedd37f0dd94193fba Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 11 Jun 2003 21:03:09 +0000 Subject: ansification; checked by pval --- lib/libc/gen/daemon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libc/gen/daemon.c') diff --git a/lib/libc/gen/daemon.c b/lib/libc/gen/daemon.c index 22d8ecb04da..828e92607cc 100644 --- a/lib/libc/gen/daemon.c +++ b/lib/libc/gen/daemon.c @@ -28,7 +28,7 @@ */ #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.4 2003/06/11 21:03:10 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -36,8 +36,7 @@ static char rcsid[] = "$OpenBSD: daemon.c,v 1.3 2003/06/02 20:18:34 millert Exp #include int -daemon(nochdir, noclose) - int nochdir, noclose; +daemon(int nochdir, int noclose) { int fd; -- cgit v1.2.3-59-g8ed1b