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

Declare extern numurls in common header

This commit is contained in:
Darshit Shah 2014-11-22 13:20:38 +05:30
parent b6de436547
commit e94a542d0f
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-11-22 Darshit Shah <darnir@gmail.com>
* retr.h: Declare extern variable numurls
* http.c: Remove extern declaration for numurls
* ftp.c: Same
2014-11-22 Darshit Shah <darnir@gmail.com>
* version.h: Add extern for compilation_string

View File

@ -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

View File

@ -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

View File

@ -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;