about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--locale/programs/repertoire.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fed53336c6..365e427a5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-09-22  Andreas Jaeger  <aj@suse.de>
 
+	* locale/programs/repertoire.c (repertoiremap_hash): Don't specify
+	array size.
+
 	* sysdeps/alpha/fpu/libm-test-ulps: New file.
 	From Christian Iseli <chris@ludwig-alpha.unil.ch>.
 
diff --git a/locale/programs/repertoire.c b/locale/programs/repertoire.c
index e7cf0bb9c4..a33ecc72cc 100644
--- a/locale/programs/repertoire.c
+++ b/locale/programs/repertoire.c
@@ -360,7 +360,7 @@ repertoire_compare (const void *p1, const void *p2)
 static const struct keyword_t *
 repertoiremap_hash (const char *str, unsigned int len)
 {
-  static const struct keyword_t wordlist[0] =
+  static const struct keyword_t wordlist[] =
   {
     {"escape_char",      tok_escape_char,     0},
     {"comment_char",     tok_comment_char,    0},