Blame intl/hash-string.h

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