summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/tstgettext.c2
-rw-r--r--tests/tstngettext.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 07c7dfc..8050d31 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-11 Bruno Haible <bruno@clisp.org>
+
+ * tstgettext.c (program_name): Declare as external.
+ * tstngettext.c (program_name): Likewise.
+
2002-11-07 Bruno Haible <bruno@clisp.org>
* msgcmp-2: Filter out valgrind's messages from the stderr output.
diff --git a/tests/tstgettext.c b/tests/tstgettext.c
index e19b187..2cb102a 100644
--- a/tests/tstgettext.c
+++ b/tests/tstgettext.c
@@ -48,7 +48,7 @@ int add_newline;
int do_expand;
/* Name the program is called with. */
-const char *program_name;
+extern const char *program_name;
/* Long options. */
static const struct option long_options[] =
diff --git a/tests/tstngettext.c b/tests/tstngettext.c
index 4a2c677..669944b 100644
--- a/tests/tstngettext.c
+++ b/tests/tstngettext.c
@@ -39,7 +39,7 @@
#define _(str) gettext (str)
/* Name the program is called with. */
-char *program_name;
+extern const char *program_name;
/* Long options. */
static const struct option long_options[] =