X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhtml-url.c;h=b5071151ef34084492b4fddcef817f547cfd7c4b;hp=853226d939da7c981b61bb6b86f7c6b1afe564c4;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/html-url.c b/src/html-url.c index 853226d9..b5071151 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -30,11 +30,7 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif +#include #include #include #include @@ -47,17 +43,12 @@ so, delete this exception statement from your version. */ #include "convert.h" #include "recur.h" /* declaration of get_urls_html */ -#ifndef errno -extern int errno; -#endif - struct map_context; -typedef void (*tag_handler_t) PARAMS ((int, struct taginfo *, - struct map_context *)); +typedef void (*tag_handler_t) (int, struct taginfo *, struct map_context *); -#define DECLARE_TAG_HANDLER(fun) \ - static void fun PARAMS ((int, struct taginfo *, struct map_context *)) +#define DECLARE_TAG_HANDLER(fun) \ + static void fun (int, struct taginfo *, struct map_context *) DECLARE_TAG_HANDLER (tag_find_urls); DECLARE_TAG_HANDLER (tag_handle_base);