--- src/ChangeLog | 6 ++++++ src/ftp.c | 1 - src/http.c | 1 - src/retr.h | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/ChangeLog b/src/ChangeLog index 3d29d3d..97f19f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,11 @@ 2014-11-22 Darshit Shah <[email protected]> + * retr.h: Declare extern variable numurls + * http.c: Remove extern declaration for numurls + * ftp.c: Same + +2014-11-22 Darshit Shah <[email protected]> + * version.h: Add extern for compilation_string * main: Remove declaration for compilation_String diff --git a/src/ftp.c b/src/ftp.c index 8b4ce3b..e57c21c 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 bac471d..87ceffd 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 d766ec5..0a6aef3 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; -- 2.1.3
