Blame intl/hash-string.h

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