X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Frecur.c;h=a00b47aa5db00574ba5157718422a41ee4195a2f;hp=3f037c6cbb7d212ade30908905c0b0d179cc4e1e;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/recur.c b/src/recur.c index 3f037c6c..a00b47aa 100644 --- a/src/recur.c +++ b/src/recur.c @@ -31,17 +31,12 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif /* HAVE_STRING_H */ +#include #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ #include #include -#include #include "wget.h" #include "url.h" @@ -54,10 +49,6 @@ so, delete this exception statement from your version. */ #include "res.h" #include "convert.h" -#ifndef errno -extern int errno; -#endif - extern char *version_string; extern LARGE_INT total_downloaded_bytes; @@ -160,10 +151,10 @@ url_dequeue (struct url_queue *queue, return 1; } -static int download_child_p PARAMS ((const struct urlpos *, struct url *, int, - struct url *, struct hash_table *)); -static int descend_redirect_p PARAMS ((const char *, const char *, int, - struct url *, struct hash_table *)); +static int download_child_p (const struct urlpos *, struct url *, int, + struct url *, struct hash_table *); +static int descend_redirect_p (const char *, const char *, int, + struct url *, struct hash_table *); /* Retrieve a part of the web beginning with START_URL. This used to