SCCS-vsn: usr.bin/ftp/ftp.c 5.39
-static char sccsid[] = "@(#)ftp.c 5.38 (Berkeley) %G%";
+static char sccsid[] = "@(#)ftp.c 5.39 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
#include <arpa/ftp.h>
#include <arpa/telnet.h>
#include <arpa/ftp.h>
#include <arpa/telnet.h>
#include <netdb.h>
#include <fcntl.h>
#include <netdb.h>
#include <fcntl.h>
#include <pwd.h>
#include <varargs.h>
#include <pwd.h>
#include <varargs.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
int abrtflag = 0;
int ptflag = 0;
struct sockaddr_in myctladdr;
int abrtflag = 0;
int ptflag = 0;
struct sockaddr_in myctladdr;
-extern char *strerror();
extern int connected, errno;
FILE *cin, *cout;
extern int connected, errno;
FILE *cin, *cout;
register int c, d;
struct timeval start, stop;
struct stat st;
register int c, d;
struct timeval start, stop;
struct stat st;
is_retr = strcmp(cmd, "RETR") == 0;
if (is_retr && verbose && printnames) {
is_retr = strcmp(cmd, "RETR") == 0;
if (is_retr && verbose && printnames) {