summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:33:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:33:39 +0000
commitaea4b85fb37df68d537c653645d4ae1f5fe778ab (patch)
tree10dc176082f9bc4c3642c1aa10475f2ec7579a8c /usr.sbin/syslogc
parenta5ac45ca202f542b14764443c63374e698e729e0 (diff)
remove unused variables
Diffstat (limited to 'usr.sbin/syslogc')
-rw-r--r--usr.sbin/syslogc/syslogc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/syslogc/syslogc.c b/usr.sbin/syslogc/syslogc.c
index 80619370734..80a3d0997a6 100644
--- a/usr.sbin/syslogc/syslogc.c
+++ b/usr.sbin/syslogc/syslogc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogc.c,v 1.7 2004/07/15 20:46:00 mpf Exp $ */
+/* $OpenBSD: syslogc.c,v 1.8 2004/09/14 22:33:38 deraadt Exp $ */
/*
* Copyright (c) 2004 Damien Miller
@@ -75,14 +75,12 @@ main(int argc, char **argv)
const char *ctlsock_path;
char buf[8192];
struct sockaddr_un ctl;
- socklen_t ctllen;
int ctlsock, ch, oflag, rval;
FILE *ctlf;
extern char *optarg;
extern int optind;
struct ctl_cmd cc;
struct ctl_reply_hdr rr;
- u_int32_t header[2];
memset(&cc, '\0', sizeof(cc));