about summary refs log tree commit diff
path: root/locale/programs/repertoire.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-09-09 14:08:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-09-09 14:16:40 -0700
commit3f02b772a42c10fd172b6e5a8baa50d7ef9c59fc (patch)
tree2f28f78e53be228299596a7abc3560a2cc8f6af8 /locale/programs/repertoire.c
parent5cb226d7e4e710939cff7288bf9970cb52ec0dfa (diff)
downloadglibc-3f02b772a42c10fd172b6e5a8baa50d7ef9c59fc.tar.gz
glibc-3f02b772a42c10fd172b6e5a8baa50d7ef9c59fc.tar.xz
glibc-3f02b772a42c10fd172b6e5a8baa50d7ef9c59fc.zip
Regenerate charmap-kw.h, locfile-kw.h
This propagates the recent http->https URL changes.
Since I used gperf 3.1 to regenerate, this is also a minor
internal-to-localedef API change.
URL problem reported by Joseph Myers in:
https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
* locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
Regenerate with gperf 3.1.
* locale/programs/linereader.h (kw_hash_fct_t):
* locale/programs/repertoire.c (repertoiremap_hash):
2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
Diffstat (limited to 'locale/programs/repertoire.c')
-rw-r--r--locale/programs/repertoire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/repertoire.c b/locale/programs/repertoire.c
index f971f88978..1918034172 100644
--- a/locale/programs/repertoire.c
+++ b/locale/programs/repertoire.c
@@ -37,7 +37,7 @@
 
 /* Simple keyword hashing for the repertoiremap.  */
 static const struct keyword_t *repertoiremap_hash (const char *str,
-						   unsigned int len);
+						   size_t len);
 static void repertoire_new_char (struct linereader *lr, hash_table *ht,
 				 hash_table *rt, struct obstack *ob,
 				 uint32_t value, const char *from,
@@ -358,7 +358,7 @@ repertoire_compare (const void *p1, const void *p2)
 
 
 static const struct keyword_t *
-repertoiremap_hash (const char *str, unsigned int len)
+repertoiremap_hash (const char *str, size_t len)
 {
   static const struct keyword_t wordlist[] =
   {