# HG changeset patch # User Sergey Poznyakoff # Date 1245927903 -10800 # Node ID 7c297f566e07c863c4f23db0e0da52dde4c80b3b # Parent 64c83b4fa3039e58a6ef919db3bb5bfa8354d397 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-06-25 Sergey Poznyakoff + + * 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 argp-version-etc: new module. diff --git a/lib/argp-version-etc.c b/lib/argp-version-etc.c --- a/lib/argp-version-etc.c +++ b/lib/argp-version-etc.c @@ -20,7 +20,7 @@ #include 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) diff --git a/lib/version-etc.c b/lib/version-etc.c --- 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 diff --git a/modules/argp-version-etc b/modules/argp-version-etc --- a/modules/argp-version-etc +++ b/modules/argp-version-etc @@ -7,6 +7,7 @@ Depends-on: argp +version-etc Makefile.am: lib_SOURCES += argp-version-etc.h argp-version-etc.c