summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-05 22:15:36 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-05 22:15:36 +0000
commitf26820aaea591a615c709f0118b493228125c172 (patch)
tree762f859c3e1dc2fff19b696977fbedaa7c9523d9 /usr.sbin/syslogd/syslogd.c
parentb0554f638688cf5de346017dc58fc7a25524c03b (diff)
The global variable Startup is not used anymore and can be deleted.
The functionality has moved into log_setdebug(). OK millert@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r--usr.sbin/syslogd/syslogd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index 6cedc3fe075..b1df3dabda2 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.239 2017/04/05 21:55:31 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.240 2017/04/05 22:15:35 bluhm Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -202,7 +202,6 @@ int nunix; /* Number of Unix domain sockets requested */
char **path_unix; /* Paths to Unix domain sockets */
int Debug; /* debug flag */
int Foreground; /* run in foreground, instead of daemonizing */
-int Startup = 1; /* startup flag */
char LocalHostName[HOST_NAME_MAX+1]; /* our hostname */
char *LocalDomain; /* our local domain name */
int Initialized = 0; /* set when we have initialized ourselves */
@@ -768,7 +767,6 @@ main(int argc, char *argv[])
init();
log_setdebug(0);
- Startup = 0;
/* Allocate ctl socket reply buffer if we have a ctl socket */
if (fd_ctlsock != -1 &&