bug-wget
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]