bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH 01/14] main: make program_name not static


From: gscrivano
Subject: [Bug-wget] [PATCH 01/14] main: make program_name not static
Date: Wed, 11 Jun 2014 17:05:12 +0200

From: Giuseppe Scrivano <address@hidden>

---
 src/ChangeLog | 2 ++
 src/main.c    | 6 ++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 5ebeaf3..f93cd70 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
 2014-06-08  Giuseppe Scrivano  <address@hidden>
 
+       * main.c: Make `program_name' not static.
+
        * cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is 
defined.
 
 2014-05-30  Darshit Shah  <address@hidden>
diff --git a/src/main.c b/src/main.c
index 4b23053..38a32ff 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,7 +1,5 @@
 /* Command line parsing.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
-   Inc.
+   Copyright (C) 1996-2014 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -979,7 +977,7 @@ There is NO WARRANTY, to the extent permitted by law.\n"), 
stdout) < 0)
   exit (0);
 }
 
-static char *program_name; /* Needed by lib/error.c. */
+char *program_name; /* Needed by lib/error.c. */
 char *program_argstring; /* Needed by wget_warc.c. */
 
 int
-- 
1.9.3




reply via email to

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