summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/loadmsgcat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-05-09 19:16:55 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:34 +0200
commit43733a0da83b25554b5a091088abd3006a7cd877 (patch)
tree12ae8e0d575d663199289d70850d2420363df56f /gettext-runtime/intl/loadmsgcat.c
parent8ac95f2fcb2af9185c7f56fe919ef8b7d46c1105 (diff)
downloadexternal_gettext-43733a0da83b25554b5a091088abd3006a7cd877.zip
external_gettext-43733a0da83b25554b5a091088abd3006a7cd877.tar.gz
external_gettext-43733a0da83b25554b5a091088abd3006a7cd877.tar.bz2
glibc 2003-06-11 Ulrich Drepper <drepper@redhat.com>
Move the hash_string function to a separate file hash-string.c
Diffstat (limited to 'gettext-runtime/intl/loadmsgcat.c')
-rw-r--r--gettext-runtime/intl/loadmsgcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c
index e708e20..30c4e01 100644
--- a/gettext-runtime/intl/loadmsgcat.c
+++ b/gettext-runtime/intl/loadmsgcat.c
@@ -1184,7 +1184,7 @@ _nl_load_domain (struct loaded_l10nfile *domain_file,
for (i = 0; i < n_inmem_sysdep_strings; i++)
{
const char *msgid = inmem_orig_sysdep_tab[i].pointer;
- nls_uint32 hash_val = hash_string (msgid);
+ nls_uint32 hash_val = __hash_string (msgid);
nls_uint32 idx = hash_val % domain->hash_size;
nls_uint32 incr =
1 + (hash_val % (domain->hash_size - 2));