diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-19 11:52:52 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-19 11:52:52 +0000 |
commit | b36a1ade28c969cf9519ddd90f447dfac70fec88 (patch) | |
tree | c4c04e1be65eea06bd29f04fe2b293393efa900c /usr.sbin | |
parent | 2bdaa2aa9f39452a0f221731e4b83e26c58fd270 (diff) |
optarg and optind are declared by unistd.h
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index a9edecf9409..a115bbbb3be 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.145 2015/10/19 11:51:17 jca Exp $ */ +/* $OpenBSD: inetd.c,v 1.146 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) { |