+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.
#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)
/* 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
/* 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
Depends-on:
argp
+version-etc
Makefile.am:
lib_SOURCES += argp-version-etc.h argp-version-etc.c