diff options
author | jca <jca@openbsd.org> | 2015-10-19 11:52:51 +0000 |
---|---|---|
committer | jca <jca@openbsd.org> | 2015-10-19 11:52:51 +0000 |
commit | d4cb28ceff185f8d9c19cd265da58bd817f3d6d8 (patch) | |
tree | d328c0d6a74544880ded277b79a57112464f2521 /usr.sbin/inetd | |
parent | Add err.h, missing after pledge() introduction. (diff) | |
download | wireguard-openbsd-d4cb28ceff185f8d9c19cd265da58bd817f3d6d8.tar.xz wireguard-openbsd-d4cb28ceff185f8d9c19cd265da58bd817f3d6d8.zip |
optarg and optind are declared by unistd.h
Diffstat (limited to 'usr.sbin/inetd')
-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) { |