diff options
author | imp <imp@FreeBSD.org> | 2000-08-16 05:14:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-08-16 05:14:49 +0000 |
commit | d5e7ddb4c9afb1ed7e90d833b78c5af743901c57 (patch) | |
tree | 0f9ba032f259994437f00b5d86e145b2544a5f35 | |
parent | 5b09de97953ed09ac63da21661895834c1016cdd (diff) | |
download | FreeBSD-src-d5e7ddb4c9afb1ed7e90d833b78c5af743901c57.zip FreeBSD-src-d5e7ddb4c9afb1ed7e90d833b78c5af743901c57.tar.gz |
Don't explicitly declare optarg and optind. These are declared in
unistd.h, which is already included.
-rw-r--r-- | bin/chio/chio.c | 1 | ||||
-rw-r--r-- | bin/date/date.c | 2 | ||||
-rw-r--r-- | bin/ln/ln.c | 1 | ||||
-rw-r--r-- | bin/pax/options.c | 2 |
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 |