summaryrefslogtreecommitdiff
path: root/usr.bin/ruptime/ruptime.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:24:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:24:08 +0000
commitc066ba4952b818fceea057e7756843302d5252da (patch)
tree91442941e4c9f70c24a131b419c60232747ef260 /usr.bin/ruptime/ruptime.c
parentaf39ee3e3f62ac11dd202b59abf9da325ffbfdb1 (diff)
optind and optarg not used
Diffstat (limited to 'usr.bin/ruptime/ruptime.c')
-rw-r--r--usr.bin/ruptime/ruptime.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c
index 891aa09be0b..03549640b47 100644
--- a/usr.bin/ruptime/ruptime.c
+++ b/usr.bin/ruptime/ruptime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ruptime.c,v 1.12 2003/08/04 17:06:45 deraadt Exp $ */
+/* $OpenBSD: ruptime.c,v 1.13 2004/09/14 22:24:07 deraadt Exp $ */
/*
* Copyright (c) 1983 The Regents of the University of California.
@@ -37,7 +37,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)ruptime.c 5.8 (Berkeley) 7/21/90";*/
-static char rcsid[] = "$OpenBSD: ruptime.c,v 1.12 2003/08/04 17:06:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ruptime.c,v 1.13 2004/09/14 22:24:07 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -73,8 +73,6 @@ void morehosts(void);
int
main(int argc, char *argv[])
{
- extern char *optarg;
- extern int optind;
struct hs *hsp;
struct whod *wd;
struct whoent *we;