artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2448817
)
optarg and optind are declared by unistd.h
author
jca
<jca@openbsd.org>
Mon, 19 Oct 2015 11:52:51 +0000
(11:52 +0000)
committer
jca
<jca@openbsd.org>
Mon, 19 Oct 2015 11:52:51 +0000
(11:52 +0000)
usr.sbin/inetd/inetd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/inetd/inetd.c
b/usr.sbin/inetd/inetd.c
index
a9edecf
..
a115bbb
100644
(file)
--- a/
usr.sbin/inetd/inetd.c
+++ b/
usr.sbin/inetd/inetd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: inetd.c,v 1.14
5 2015/10/19 11:51:17
jca Exp $ */
+/* $OpenBSD: inetd.c,v 1.14
6 2015/10/19 11:52:51
jca Exp $ */
/*
* Copyright (c) 1983,1991 The Regents of the University of California.
@@
-296,8
+296,6
@@
int
main(int argc, char *argv[])
{
int ch;
- extern char *optarg;
- extern int optind;
while ((ch = getopt(argc, argv, "dR:")) != -1)
switch (ch) {