From d4cb28ceff185f8d9c19cd265da58bd817f3d6d8 Mon Sep 17 00:00:00 2001 From: jca Date: Mon, 19 Oct 2015 11:52:51 +0000 Subject: [PATCH] optarg and optind are declared by unistd.h --- usr.sbin/inetd/inetd.c | 4 +--- 1 file changed, 1 insertion(+), 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) { -- 2.20.1