]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Merge from glibc.
authorBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 18:33:06 +0000 (20:33 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 22:36:55 +0000 (00:36 +0200)
Apply commit
2017-10-01  H.J. Lu  <hjl.tools@gmail.com>
Hide internal __hash_string function [BZ #18822]

gettext-runtime/intl/hash-string.h

index 97bade5e41fad579ff45afd6437d1648a92e21ee..2c9029b4087c7f57dc4f387d2bfded9e35a6f2c7 100644 (file)
@@ -31,4 +31,5 @@
 /* Defines the so called `hashpjw' function by P.J. Weinberger
    [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools,
    1986, 1987 Bell Telephone Laboratories, Inc.]  */
-extern unsigned long int __hash_string (const char *str_param);
+extern unsigned long int __hash_string (const char *str_param)
+     attribute_hidden;