]> sjero.net Git - wget/commitdiff
Remove static modifier for functions used in other modules.
authorGiuseppe Scrivano <gscrivano@gnu.org>
Tue, 28 Aug 2012 19:38:12 +0000 (21:38 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Tue, 28 Aug 2012 19:38:12 +0000 (21:38 +0200)
src/ChangeLog
src/html-url.c
src/init.c
src/spider.c

index 7830e944119896437567971441322f7f5a37543c..862ae30f1cd43d671208375095bcda928f7d29ef 100644 (file)
@@ -1,3 +1,9 @@
+2012-07-07  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * html-url.c (cleanup_html_url): Remove "static" modifier.
+       * init.c (cleanup_html_url): Likewise.
+       Reported by: Mike Frysinger <vapier@gentoo.org>.
+
 2012-08-25  Hrvoje Niksic  <hniksic@gmail.com>
 
        * warc.c (warc_find_duplicate_cdx_record): Use hash_table_get
index 55563e2d3fc2aa9e5bd804999b3e33533f456f6d..855393a726a03dedc6fcd71d74d51304ec1549d9 100644 (file)
@@ -830,7 +830,7 @@ get_urls_file (const char *file)
   return head;
 }
 
-static void
+void
 cleanup_html_url (void)
 {
   /* Destroy the hash tables.  The hash table keys and values are not
index 365fb5baf68f38ad38634887915e7db8c9b67b50..cafd456cd2befc18d89e33bbbdc58600a435eaef 100644 (file)
@@ -1669,6 +1669,7 @@ decode_string (const char *val, const struct decode_item *items, int itemcount,
 
 \f
 void cleanup_html_url (void);
+void spider_cleanup (void);
 
 
 /* Free the memory allocated by global variables.  */
@@ -1703,6 +1704,7 @@ cleanup (void)
   res_cleanup ();
   http_cleanup ();
   cleanup_html_url ();
+  spider_cleanup ();
   host_cleanup ();
   log_cleanup ();
 
index dad9a23dcf764a10c8c3a547db68c44b047882b9..ae2f392c2252abf0fefe3e9f7b7134240b7b5d8d 100644 (file)
@@ -45,7 +45,7 @@ static struct hash_table *nonexisting_urls_set;
 
 /* Cleanup the data structures associated with this file.  */
 
-static void
+void
 spider_cleanup (void)
 {
   if (nonexisting_urls_set)