mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Remove unused arguments.
This commit is contained in:
parent
8ac9c05fc0
commit
e93bb4fa28
@ -1,3 +1,10 @@
|
|||||||
|
2012-05-19 illusionoflife <illusion.of.life92@gmail.com> (tiny change)
|
||||||
|
|
||||||
|
* convert.c (register_html,register_css): Fixed functions signature to
|
||||||
|
not accept unused argument
|
||||||
|
* retr.c (retrieve_url): Changed register_{css,html} usage according
|
||||||
|
new signature.
|
||||||
|
|
||||||
2012-05-16 Giuseppe Scrivano <gscrivano@gnu.org>
|
2012-05-16 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
* warc.h: Cut length lines to 80 columns.
|
* warc.h: Cut length lines to 80 columns.
|
||||||
|
@ -870,7 +870,7 @@ register_delete_file (const char *file)
|
|||||||
/* Register that FILE is an HTML file that has been downloaded. */
|
/* Register that FILE is an HTML file that has been downloaded. */
|
||||||
|
|
||||||
void
|
void
|
||||||
register_html (const char *url, const char *file)
|
register_html (const char *file)
|
||||||
{
|
{
|
||||||
if (!downloaded_html_set)
|
if (!downloaded_html_set)
|
||||||
downloaded_html_set = make_string_hash_table (0);
|
downloaded_html_set = make_string_hash_table (0);
|
||||||
@ -880,7 +880,7 @@ register_html (const char *url, const char *file)
|
|||||||
/* Register that FILE is a CSS file that has been downloaded. */
|
/* Register that FILE is a CSS file that has been downloaded. */
|
||||||
|
|
||||||
void
|
void
|
||||||
register_css (const char *url, const char *file)
|
register_css (const char *file)
|
||||||
{
|
{
|
||||||
if (!downloaded_css_set)
|
if (!downloaded_css_set)
|
||||||
downloaded_css_set = make_string_hash_table (0);
|
downloaded_css_set = make_string_hash_table (0);
|
||||||
|
@ -101,8 +101,8 @@ downloaded_file_t downloaded_file (downloaded_file_t, const char *);
|
|||||||
|
|
||||||
void register_download (const char *, const char *);
|
void register_download (const char *, const char *);
|
||||||
void register_redirection (const char *, const char *);
|
void register_redirection (const char *, const char *);
|
||||||
void register_html (const char *, const char *);
|
void register_html (const char *);
|
||||||
void register_css (const char *, const char *);
|
void register_css (const char *);
|
||||||
void register_delete_file (const char *);
|
void register_delete_file (const char *);
|
||||||
void convert_all_links (void);
|
void convert_all_links (void);
|
||||||
void convert_cleanup (void);
|
void convert_cleanup (void);
|
||||||
|
@ -932,10 +932,10 @@ retrieve_url (struct url * orig_parsed, const char *origurl, char **file,
|
|||||||
register_redirection (origurl, u->url);
|
register_redirection (origurl, u->url);
|
||||||
|
|
||||||
if (*dt & TEXTHTML)
|
if (*dt & TEXTHTML)
|
||||||
register_html (u->url, local_file);
|
register_html (local_file);
|
||||||
|
|
||||||
if (*dt & TEXTCSS)
|
if (*dt & TEXTCSS)
|
||||||
register_css (u->url, local_file);
|
register_css (local_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file)
|
if (file)
|
||||||
|
Loading…
Reference in New Issue
Block a user