summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/chio/chio.c1
-rw-r--r--bin/date/date.c2
-rw-r--r--bin/ln/ln.c1
-rw-r--r--bin/pax/options.c2
4 files changed, 0 insertions, 6 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c
index c7ee344..e3f6551 100644
--- a/bin/chio/chio.c
+++ b/bin/chio/chio.c
@@ -54,7 +54,6 @@ static const char rcsid[] =
#include "pathnames.h"
extern char *__progname; /* from crt0.o */
-extern int optreset; /* from getopt.o */
static void usage __P((void));
static void cleanup __P((void));
diff --git a/bin/date/date.c b/bin/date/date.c
index 95d0bae..99ebfe6 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -78,8 +78,6 @@ main(argc, argv)
int argc;
char **argv;
{
- extern int optind;
- extern char *optarg;
struct timezone tz;
int ch, rflag;
int jflag, nflag;
diff --git a/bin/ln/ln.c b/bin/ln/ln.c
index 9ec1efc..686e031 100644
--- a/bin/ln/ln.c
+++ b/bin/ln/ln.c
@@ -71,7 +71,6 @@ main(argc, argv)
int argc;
char *argv[];
{
- extern int optind;
struct stat sb;
int ch, exitval;
char *p, *sourcedir;
diff --git a/bin/pax/options.c b/bin/pax/options.c
index 4ea96e4..ec274d1 100644
--- a/bin/pax/options.c
+++ b/bin/pax/options.c
@@ -188,8 +188,6 @@ pax_options(argc, argv)
unsigned int bflg = 0;
register char *pt;
FSUB tmp;
- extern char *optarg;
- extern int optind;
/*
* process option flags
OpenPOWER on IntegriCloud