main: make program_name not static

This commit is contained in:
Giuseppe Scrivano 2014-06-08 23:35:16 +02:00
parent 4d77b190fd
commit ee5b28367c
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2014-06-08 Giuseppe Scrivano <gscrivan@redhat.com>
* 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 <darnir@gmail.com>

View File

@ -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