1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Remove static modifier for functions used in other modules.

This commit is contained in:
Giuseppe Scrivano 2012-08-28 21:38:12 +02:00
parent 85b98d0834
commit 06fc1edb54
4 changed files with 10 additions and 2 deletions

View 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> 2012-08-25 Hrvoje Niksic <hniksic@gmail.com>
* warc.c (warc_find_duplicate_cdx_record): Use hash_table_get * warc.c (warc_find_duplicate_cdx_record): Use hash_table_get

View File

@ -830,7 +830,7 @@ get_urls_file (const char *file)
return head; return head;
} }
static void void
cleanup_html_url (void) cleanup_html_url (void)
{ {
/* Destroy the hash tables. The hash table keys and values are not /* Destroy the hash tables. The hash table keys and values are not

View File

@ -1669,6 +1669,7 @@ decode_string (const char *val, const struct decode_item *items, int itemcount,
void cleanup_html_url (void); void cleanup_html_url (void);
void spider_cleanup (void);
/* Free the memory allocated by global variables. */ /* Free the memory allocated by global variables. */
@ -1703,6 +1704,7 @@ cleanup (void)
res_cleanup (); res_cleanup ();
http_cleanup (); http_cleanup ();
cleanup_html_url (); cleanup_html_url ();
spider_cleanup ();
host_cleanup (); host_cleanup ();
log_cleanup (); log_cleanup ();

View File

@ -45,7 +45,7 @@ static struct hash_table *nonexisting_urls_set;
/* Cleanup the data structures associated with this file. */ /* Cleanup the data structures associated with this file. */
static void void
spider_cleanup (void) spider_cleanup (void)
{ {
if (nonexisting_urls_set) if (nonexisting_urls_set)