mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
optarg and optind are declared in unistd.h.
h_error is declared in netdb.h
This commit is contained in:
parent
7c62d872a5
commit
b07b8563ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65427
@ -64,8 +64,6 @@ main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
{
|
||||
extern int optind;
|
||||
extern char *optarg;
|
||||
register int ch;
|
||||
int width;
|
||||
char *p;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user