diff --git a/src/ChangeLog b/src/ChangeLog index 3d29d3dc..97f19f48 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2014-11-22 Darshit Shah + + * retr.h: Declare extern variable numurls + * http.c: Remove extern declaration for numurls + * ftp.c: Same + 2014-11-22 Darshit Shah * version.h: Add extern for compilation_string diff --git a/src/ftp.c b/src/ftp.c index 8b4ce3b6..e57c21ca 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -77,7 +77,6 @@ typedef struct struct url *proxy; /* FTWK-style proxy */ } ccon; -extern int numurls; /* Look for regexp "( *[0-9]+ *byte" (literal parenthesis) anywhere in the string S, and return the number converted to wgint, if found, 0 diff --git a/src/http.c b/src/http.c index bac471dc..87ceffd5 100644 --- a/src/http.c +++ b/src/http.c @@ -147,7 +147,6 @@ struct request { int hcount, hcapacity; }; -extern int numurls; /* Create a new, empty request. Set the request's method and its arguments. METHOD should be a literal string (or it should outlive diff --git a/src/retr.h b/src/retr.h index d766ec52..0a6aef30 100644 --- a/src/retr.h +++ b/src/retr.h @@ -34,6 +34,8 @@ as that of the covered work. */ #include "url.h" +extern int numurls; + /* These global vars should be made static to retr.c and exported via functions! */ extern SUM_SIZE_INT total_downloaded_bytes;