diff options
Diffstat (limited to 'openbsd-compat/daemon.c')
-rw-r--r-- | openbsd-compat/daemon.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/openbsd-compat/daemon.c b/openbsd-compat/daemon.c index 7d23b2467..6dd45f6a7 100644 --- a/openbsd-compat/daemon.c +++ b/openbsd-compat/daemon.c | |||
@@ -10,11 +10,7 @@ | |||
10 | * 2. Redistributions in binary form must reproduce the above copyright | 10 | * 2. Redistributions in binary form must reproduce the above copyright |
11 | * notice, this list of conditions and the following disclaimer in the | 11 | * notice, this list of conditions and the following disclaimer in the |
12 | * documentation and/or other materials provided with the distribution. | 12 | * documentation and/or other materials provided with the distribution. |
13 | * 3. All advertising materials mentioning features or use of this software | 13 | * 3. Neither the name of the University nor the names of its contributors |
14 | * must display the following acknowledgement: | ||
15 | * This product includes software developed by the University of | ||
16 | * California, Berkeley and its contributors. | ||
17 | * 4. Neither the name of the University nor the names of its contributors | ||
18 | * may be used to endorse or promote products derived from this software | 14 | * may be used to endorse or promote products derived from this software |
19 | * without specific prior written permission. | 15 | * without specific prior written permission. |
20 | * | 16 | * |
@@ -36,12 +32,11 @@ | |||
36 | #ifndef HAVE_DAEMON | 32 | #ifndef HAVE_DAEMON |
37 | 33 | ||
38 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
39 | static char rcsid[] = "$OpenBSD: daemon.c,v 1.2 1996/08/19 08:22:13 tholo Exp $"; | 35 | static char rcsid[] = "$OpenBSD: daemon.c,v 1.5 2003/07/15 17:32:41 deraadt Exp $"; |
40 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
41 | 37 | ||
42 | int | 38 | int |
43 | daemon(nochdir, noclose) | 39 | daemon(int nochdir, int noclose) |
44 | int nochdir, noclose; | ||
45 | { | 40 | { |
46 | int fd; | 41 | int fd; |
47 | 42 | ||