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;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
{
|
{
|
||||||
extern int optind;
|
|
||||||
extern char *optarg;
|
|
||||||
register int ch;
|
register int ch;
|
||||||
int width;
|
int width;
|
||||||
char *p;
|
char *p;
|
||||||
|
@ -63,8 +63,6 @@ main(argc, argv)
|
|||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
{
|
{
|
||||||
extern char *optarg;
|
|
||||||
extern int optind;
|
|
||||||
struct passwd *pwd;
|
struct passwd *pwd;
|
||||||
int ch, count, newline;
|
int ch, count, newline;
|
||||||
char *file, *sender, *p;
|
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
|
#define NI_WITHSCOPEID 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int h_errno;
|
|
||||||
|
|
||||||
int data = -1;
|
int data = -1;
|
||||||
int abrtflag = 0;
|
int abrtflag = 0;
|
||||||
jmp_buf ptabort;
|
jmp_buf ptabort;
|
||||||
|
Loading…
Reference in New Issue
Block a user