Blame intl/hash-string.h

Packit 6c4009
/* Description of GNU message catalog format: string hashing function.
Packit 6c4009
   Copyright (C) 1995-2018 Free Software Foundation, Inc.
Packit 6c4009
Packit 6c4009
   This program is free software: you can redistribute it and/or modify
Packit 6c4009
   it under the terms of the GNU Lesser General Public License as published by
Packit 6c4009
   the Free Software Foundation; either version 2.1 of the License, or
Packit 6c4009
   (at your option) any later version.
Packit 6c4009
Packit 6c4009
   This program is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 6c4009
   GNU Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public License
Packit 6c4009
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
/* @@ end of prolog @@ */
Packit 6c4009
Packit 6c4009
/* We assume to have `unsigned long int' value with at least 32 bits.  */
Packit 6c4009
#define HASHWORDBITS 32
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifndef _LIBC
Packit 6c4009
# ifdef IN_LIBINTL
Packit 6c4009
#  define __hash_string libintl_hash_string
Packit 6c4009
# else
Packit 6c4009
#  define __hash_string hash_string
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* Defines the so called `hashpjw' function by P.J. Weinberger
Packit 6c4009
   [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools,
Packit 6c4009
   1986, 1987 Bell Telephone Laboratories, Inc.]  */
Packit 6c4009
extern unsigned long int __hash_string (const char *str_param)
Packit 6c4009
     attribute_hidden;