]> sjero.net Git - wget/commitdiff
[svn] Fix warnings reported by gcc -Wstrict-prototypes -Wmissing-prototypes.
authorhniksic <devnull@localhost>
Sun, 8 May 2005 09:58:39 +0000 (02:58 -0700)
committerhniksic <devnull@localhost>
Sun, 8 May 2005 09:58:39 +0000 (02:58 -0700)
src/ChangeLog
src/html-url.c
src/http.c

index b7ebd455679d04bfe6af55364f4dd06e3927b0e6..07b53de5370ed02278e461f7cf9e063c33c0c9a0 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * html-url.c: Include recur.h.
+
+       * http.c (request_new): Define as accepting no args.
+
 2005-05-07  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * url.c (strpbrk_or_eos): Made inline.  Use strchr(s, '\0') for
index 4216c796629c0688b8c54b8b7a96ef5a7d69de4f..2a162bd7e4a346df9445fa9c8ceeff44173bb850 100644 (file)
@@ -45,6 +45,7 @@ so, delete this exception statement from your version.  */
 #include "utils.h"
 #include "hash.h"
 #include "convert.h"
+#include "recur.h"             /* declaration of get_urls_html */
 
 #ifndef errno
 extern int errno;
index 5562b037159dd09899fdda89484b06fe1aea8d65..b7580335fa8729b5f9f41846f4d4cfdd70297b8e 100644 (file)
@@ -148,7 +148,7 @@ struct request {
    called before the request can be used.  */
 
 static struct request *
-request_new ()
+request_new (void)
 {
   struct request *req = xnew0 (struct request);
   req->hcapacity = 8;