Mercurial > hg > octave-kai > gnulib-hg
changeset 11652:7c297f566e07
Fix inconsistencies in the previous commit.
* lib/argp-version-etc.c (program_authors): Add const
qualifier.
* lib/version-etc.c: Fix typos in the comments.
* modules/argp-version-etc: Depends on version-etc.
author | Sergey Poznyakoff <gray@gnu.org.ua> |
---|---|
date | Thu, 25 Jun 2009 14:05:03 +0300 |
parents | 64c83b4fa303 |
children | ecb384fccb5b |
files | ChangeLog lib/argp-version-etc.c lib/version-etc.c modules/argp-version-etc |
diffstat | 4 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-06-25 Sergey Poznyakoff <gray@gnu.org.ua> + + * lib/argp-version-etc.c (program_authors): Add const + qualifier. + * lib/version-etc.c: Fix typos in the comments. + * modules/argp-version-etc: Depends on version-etc. + 2009-06-25 Sergey Poznyakoff <gray@gnu.org.ua> argp-version-etc: new module.
--- a/lib/argp-version-etc.c +++ b/lib/argp-version-etc.c @@ -20,7 +20,7 @@ #include <argp-version-etc.h> static const char *program_canonical_name; -static const char **program_authors; +static const char * const *program_authors; static void version_etc_hook (FILE *stream, struct argp_state *state)
--- a/lib/version-etc.c +++ b/lib/version-etc.c @@ -37,7 +37,7 @@ /* The three functions below display the --version information the standard way. - If COMMAND_NAME is NULL, the PACKAGE is asumed to be the name of + If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION @@ -206,7 +206,7 @@ /* Display the --version information the standard way. - If COMMAND_NAME is NULL, the PACKAGE is asumed to be the name of + If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION