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:
parent
b6de436547
commit
e94a542d0f
@ -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>
|
2014-11-22 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
* version.h: Add extern for compilation_string
|
* version.h: Add extern for compilation_string
|
||||||
|
@ -77,7 +77,6 @@ typedef struct
|
|||||||
struct url *proxy; /* FTWK-style proxy */
|
struct url *proxy; /* FTWK-style proxy */
|
||||||
} ccon;
|
} ccon;
|
||||||
|
|
||||||
extern int numurls;
|
|
||||||
|
|
||||||
/* Look for regexp "( *[0-9]+ *byte" (literal parenthesis) anywhere in
|
/* Look for regexp "( *[0-9]+ *byte" (literal parenthesis) anywhere in
|
||||||
the string S, and return the number converted to wgint, if found, 0
|
the string S, and return the number converted to wgint, if found, 0
|
||||||
|
@ -147,7 +147,6 @@ struct request {
|
|||||||
int hcount, hcapacity;
|
int hcount, hcapacity;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int numurls;
|
|
||||||
|
|
||||||
/* Create a new, empty request. Set the request's method and its
|
/* Create a new, empty request. Set the request's method and its
|
||||||
arguments. METHOD should be a literal string (or it should outlive
|
arguments. METHOD should be a literal string (or it should outlive
|
||||||
|
@ -34,6 +34,8 @@ as that of the covered work. */
|
|||||||
|
|
||||||
#include "url.h"
|
#include "url.h"
|
||||||
|
|
||||||
|
extern int numurls;
|
||||||
|
|
||||||
/* These global vars should be made static to retr.c and exported via
|
/* These global vars should be made static to retr.c and exported via
|
||||||
functions! */
|
functions! */
|
||||||
extern SUM_SIZE_INT total_downloaded_bytes;
|
extern SUM_SIZE_INT total_downloaded_bytes;
|
||||||
|
Loading…
Reference in New Issue
Block a user