diff options
author | imp <imp@FreeBSD.org> | 2000-09-04 05:59:25 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-09-04 05:59:25 +0000 |
commit | 180527062b861cb7c3ec4718c0522abe8677950a (patch) | |
tree | fd0ef5bcd48e0f8248bd19fd16450a138c9e167b /usr.bin | |
parent | 833218761701cca9c10897cc4fbb60fbc76ee634 (diff) | |
download | FreeBSD-src-180527062b861cb7c3ec4718c0522abe8677950a.zip FreeBSD-src-180527062b861cb7c3ec4718c0522abe8677950a.tar.gz |
optarg and optind are declared in unistd.h.
h_error is declared in netdb.h
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fold/fold.c | 2 | ||||
-rw-r--r-- | usr.bin/from/from.c | 2 | ||||
-rw-r--r-- | usr.bin/ftp/ftp.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/fold/fold.c b/usr.bin/fold/fold.c index 386caaf..e402ae5 100644 --- a/usr.bin/fold/fold.c +++ b/usr.bin/fold/fold.c @@ -64,8 +64,6 @@ main(argc, argv) int argc; char **argv; { - extern int optind; - extern char *optarg; register int ch; int width; char *p; diff --git a/usr.bin/from/from.c b/usr.bin/from/from.c index 6b33207..ff3581d 100644 --- a/usr.bin/from/from.c +++ b/usr.bin/from/from.c @@ -63,8 +63,6 @@ main(argc, argv) int argc; char **argv; { - extern char *optarg; - extern int optind; struct passwd *pwd; int ch, count, newline; char *file, *sender, *p; diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index 1862333..abbad7f 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -76,8 +76,6 @@ __RCSID_SOURCE("$NetBSD: ftp.c,v 1.29.2.1 1997/11/18 01:01:04 mellon Exp $"); #define NI_WITHSCOPEID 0 #endif -extern int h_errno; - int data = -1; int abrtflag = 0; jmp_buf ptabort; |