- Update to r53061
[reactos.git] / base / applications / network / ftp / ruserpass.c
index 688859e..248814b 100644 (file)
 static char sccsid[] = "@(#)ruserpass.c        5.1 (Berkeley) 3/1/89";
 #endif /* not lint */
 
-#include <sys/types.h>
-#include <stdio.h>
+#include "precomp.h"
 //#include <utmp.h>
-#include <ctype.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include "ftp_var.h"
-#include "prototypes.h"
-#include <winsock.h>
 
-char   *renvlook(), *index(), *getenv(), *getpass(), *getlogin();
-void  *malloc();
-char   *strcpy();
 struct utmp *getutmp();
 static FILE *cfile;
 
@@ -73,7 +63,6 @@ int ruserpass(const char *host, char **aname, char **apass, char **aacct)
        char myname[MAXHOSTNAMELEN];
        int t, i, c, usedefault = 0;
        struct stat stb;
-       extern int errno;
 
        hdir = getenv("HOME");
        if (hdir == NULL)