X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fnetrc.c;h=15cf0a68845ddd90bea630fdfecaea216f11737f;hp=23a23ca47ac1445a048dc7907435ca20c5e546aa;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/netrc.c b/src/netrc.c index 23a23ca4..15cf0a68 100644 --- a/src/netrc.c +++ b/src/netrc.c @@ -36,12 +36,7 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif -#include +#include #include #include "wget.h" @@ -49,15 +44,11 @@ so, delete this exception statement from your version. */ #include "netrc.h" #include "init.h" -#ifndef errno -extern int errno; -#endif - #define NETRC_FILE_NAME ".netrc" acc_t *netrc_list; -static acc_t *parse_netrc PARAMS ((const char *)); +static acc_t *parse_netrc (const char *); /* Return the correct user and password, given the host, user (as given in the URL), and password (as given in the URL). May return