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:
parent
85b98d0834
commit
06fc1edb54
@ -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
|
||||
|
@ -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
|
||||
|
@ -1669,6 +1669,7 @@ decode_string (const char *val, const struct decode_item *items, int itemcount,
|
||||
|
||||
|
||||
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 ();
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user