[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
- [Bug-wget] [PATCH 00/14] fix "make syntax-check", gscrivano, 2014/06/11
- [Bug-wget] [PATCH 01/14] main: make program_name not static,
gscrivano <=
- [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 03/14] Do not include strings.h, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 06/14] Remove trailing whitespaces, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 04/14] Drop usage of strncpy, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 08/14] Remove trailing empty lines, gscrivano, 2014/06/11