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 11684a3..5faaa7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
 
        * lib/argp-version-etc.c: New file.
index e681196..2b91195 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 ddac305..9580f53 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 464fc95..20a479c 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