[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH 5/8] Make extern declaration for program_name
From: |
Darshit Shah |
Subject: |
[Bug-wget] [PATCH 5/8] Make extern declaration for program_name |
Date: |
Sat, 22 Nov 2014 14:52:19 +0530 |
---
src/ChangeLog | 4 ++++
src/wget.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/ChangeLog b/src/ChangeLog
index 97f19f4..b5de3e1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2014-11-22 Darshit Shah <address@hidden>
+ * wget.h: Make extern declaration for program_name
+
+2014-11-22 Darshit Shah <address@hidden>
+
* retr.h: Declare extern variable numurls
* http.c: Remove extern declaration for numurls
* ftp.c: Same
diff --git a/src/wget.h b/src/wget.h
index 87841ea..94f6ccb 100644
--- a/src/wget.h
+++ b/src/wget.h
@@ -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
--
2.1.3
- [Bug-wget] Fix various compiler warnings, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 2/8] Add extern declaration for version.c strings, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 1/8] Mark unused paramter in utils.c, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 3/8] Fix missing extern declaration error for build_info.pl, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 5/8] Make extern declaration for program_name,
Darshit Shah <=
- [Bug-wget] [PATCH 4/8] Declare extern numurls in common header, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 6/8] Add extern declaration for program_arsgstring, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 7/8] Remove defensive assert in cookies.c, Darshit Shah, 2014/11/22
- [Bug-wget] [PATCH 8/8] Supplement logical assumption assert with error message, Darshit Shah, 2014/11/22
- Re: [Bug-wget] Fix various compiler warnings, Tim Rühsen, 2014/11/22
- Re: [Bug-wget] Fix various compiler warnings, Giuseppe Scrivano, 2014/11/24