Make extern declaration for program_name

This commit is contained in:
Darshit Shah 2014-11-22 13:32:25 +05:30
parent e94a542d0f
commit eab0f5d222
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-11-22 Darshit Shah <darnir@gmail.com>
* wget.h: Make extern declaration for program_name
2014-11-22 Darshit Shah <darnir@gmail.com>
* retr.h: Declare extern variable numurls

View File

@ -313,6 +313,7 @@ typedef double SUM_SIZE_INT;
#define MAX_INT_TO_STRING_LEN(x) ((sizeof(x) * 24082 / 10000) + 2)
extern const char *exec_name;
extern char *program_name;
/* Document type ("dt") flags */
enum