diff options
author | dholland <dholland@NetBSD.org> | 2009-07-04 06:31:31 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-07-04 06:31:31 +0000 |
commit | 1f91c41d4dd9a2321320f1856b01f542e481d8a3 (patch) | |
tree | 10e6aa225289e73eedaec2781632554a40a175d7 /hunt/huntd | |
parent | 4c76b7ec11ea4a4c4f121d6623ddec249e227899 (diff) | |
download | bsdgames-darwin-1f91c41d4dd9a2321320f1856b01f542e481d8a3.tar.gz bsdgames-darwin-1f91c41d4dd9a2321320f1856b01f542e481d8a3.tar.zst bsdgames-darwin-1f91c41d4dd9a2321320f1856b01f542e481d8a3.zip |
Remove references to config #defines for the thoroughly obsolete
4.2BSD syslog API.
Diffstat (limited to 'hunt/huntd')
-rw-r--r-- | hunt/huntd/bsd.h | 7 | ||||
-rw-r--r-- | hunt/huntd/driver.c | 9 |
2 files changed, 3 insertions, 13 deletions
diff --git a/hunt/huntd/bsd.h b/hunt/huntd/bsd.h index 8880093b..6763cbf0 100644 --- a/hunt/huntd/bsd.h +++ b/hunt/huntd/bsd.h @@ -1,4 +1,4 @@ -/* $NetBSD: bsd.h,v 1.5 2009/07/04 04:29:54 dholland Exp $ */ +/* $NetBSD: bsd.h,v 1.6 2009/07/04 06:31:31 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -33,9 +33,4 @@ #if defined(BSD_RELEASE) && BSD_RELEASE >= 43 #define BROADCAST -#define SYSLOG_43 -#endif - -#if defined(BSD_RELEASE) && BSD_RELEASE == 42 -#define SYSLOG_42 #endif diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index f1d79297..86c3a5d7 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: driver.c,v 1.17 2009/07/04 04:29:54 dholland Exp $ */ +/* $NetBSD: driver.c,v 1.18 2009/07/04 06:31:31 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: driver.c,v 1.17 2009/07/04 04:29:54 dholland Exp $"); +__RCSID("$NetBSD: driver.c,v 1.18 2009/07/04 06:31:31 dholland Exp $"); #endif /* not lint */ #include <sys/ioctl.h> @@ -279,13 +279,8 @@ init(void) (void) signal(SIGPIPE, SIG_IGN); #ifdef LOG -#ifdef SYSLOG_43 openlog("huntd", LOG_PID, LOG_DAEMON); #endif -#ifdef SYSLOG_42 - openlog("huntd", LOG_PID); -#endif -#endif /* * Initialize statistics socket |