]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
program_name is const char *.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Apr 2001 23:53:59 +0000 (23:53 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Apr 2001 23:53:59 +0000 (23:53 +0000)
src/ChangeLog
src/gettext.c
src/ngettext.c

index ab228d00aa20098d254a055ad1387e562685f0da..41cb9cfcda797aace1735ada01fdb22ad013d09d 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-04  Bruno Haible  <haible@clisp.cons.org>
+
+       * gettext.c (program_name): Change type to 'const char *'.
+       * ngettext.c (program_name): Likewise.
+
 2001-04-04  Bruno Haible  <haible@clisp.cons.org>
 
        * write-po.c (wrap): Prohibit line breaks inside backslash escape
index af5c2b03cb5f2857ef38aeae9e61dead3b33476c..27bb4ef74722faba2c9b80289f7e5bf5c8c87ba4 100644 (file)
@@ -51,7 +51,7 @@ int add_newline;
 int do_expand;
 
 /* Name the program is called with.  */
-char *program_name;
+const char *program_name;
 
 /* Long options.  */
 static const struct option long_options[] =
index 2b31f830498dc1accab30dd939930cdbaba8df7c..ee54cb3d0cd8f740c8fb4708436d6f70a9de0899 100644 (file)
@@ -37,7 +37,7 @@
 int do_expand;
 
 /* Name the program is called with.  */
-char *program_name;
+const char *program_name;
 
 /* Long options.  */
 static const struct option long_options[] =