projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Complete comments.
[gnulib.git]
/
lib
/
progname.c
diff --git
a/lib/progname.c
b/lib/progname.c
index
2a49763
..
67ecdff
100644
(file)
--- a/
lib/progname.c
+++ b/
lib/progname.c
@@
-1,5
+1,5
@@
/* Program name management.
/* Program name management.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003
, 2005
Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@
-14,17
+14,16
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
- Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
+ Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA. */
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
-# include
"config.h"
+# include
<config.h>
#endif
/* Specification. */
#include "progname.h"
#endif
/* Specification. */
#include "progname.h"
-#include <stdio.h>
#include <string.h>
#undef set_program_name
#include <string.h>
#undef set_program_name
@@
-32,7
+31,7
@@
/* String containing name the program is called with.
To be initialized by main(). */
/* String containing name the program is called with.
To be initialized by main(). */
-const char *program_name;
+const char *program_name
= NULL
;
/* Set program_name, based on argv[0]. */
void
/* Set program_name, based on argv[0]. */
void