From: Bruno Haible Date: Wed, 4 Apr 2001 23:53:59 +0000 (+0000) Subject: program_name is const char *. X-Git-Tag: v0.10.37~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44c2ba6af26378d40e1e8bb209f5e4dc798637f;p=thirdparty%2Fgettext.git program_name is const char *. --- diff --git a/src/ChangeLog b/src/ChangeLog index ab228d00a..41cb9cfcd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-04-04 Bruno Haible + + * gettext.c (program_name): Change type to 'const char *'. + * ngettext.c (program_name): Likewise. + 2001-04-04 Bruno Haible * write-po.c (wrap): Prohibit line breaks inside backslash escape diff --git a/src/gettext.c b/src/gettext.c index af5c2b03c..27bb4ef74 100644 --- a/src/gettext.c +++ b/src/gettext.c @@ -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[] = diff --git a/src/ngettext.c b/src/ngettext.c index 2b31f8304..ee54cb3d0 100644 --- a/src/ngettext.c +++ b/src/ngettext.c @@ -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[] =