Fix inconsistencies in the previous commit.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 25 Jun 2009 11:05:03 +0000 (14:05 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 25 Jun 2009 11:05:03 +0000 (14:05 +0300)
* 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.

ChangeLog
lib/argp-version-etc.c
lib/version-etc.c
modules/argp-version-etc

index 11684a386f4c870f5db944350d64b8a300083270..5faaa7f96f073e70b32602958e560cf2988029f9 100644 (file)
--- 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.
index e681196f67998378d1224548e475fa484a9f635c..2b9119579257fd79063cd16b846be98556f8f1e6 100644 (file)
@@ -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)
index ddac30542fd3cda6f661828ed94e786014fbadfe..9580f5386eb4673c829d7f4192c269dc2b19dfc3 100644 (file)
@@ -37,7 +37,7 @@ enum { COPYRIGHT_YEAR = 2009 };
 /* 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 @@ version_etc_va (FILE *stream,
 
 /* 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
index 464fc9575408083d1f1650ac6ae66e2afec4de65..20a479c9a34715ec79c5fd5e9cf41a828bd49a1a 100644 (file)
@@ -7,6 +7,7 @@ lib/argp-version-etc.h
 
 Depends-on:
 argp
+version-etc
 
 Makefile.am:
 lib_SOURCES += argp-version-etc.h argp-version-etc.c