]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/hashtab.c
hashtab.c: Include limits.h, stdint.h, ansidecl.h.
authorRichard Henderson <rth@redhat.com>
Thu, 22 Apr 2004 17:35:44 +0000 (10:35 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 22 Apr 2004 17:35:44 +0000 (10:35 -0700)
commit9bf3c9cc6d3867523706ac78dc43c299eac2fba1
tree733f68fca344b1fa54470ad459e7919a521e2cfb
parenta95cd5a0d46e37922e5a0c5eb4cd4d22bc21da29
hashtab.c: Include limits.h, stdint.h, ansidecl.h.

        * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
        (CHAR_BIT): Provide default.
        (struct prime_ent, prime_tab): New.
        (higher_prime_index): Rename from higher_prime_number, return index.
        (htab_mod_1): New.
        (htab_mod, htab_mod_m2): Use it.
        (htab_create_alloc, htab_create_alloc_ex): Store prime index.
        (htab_expand): Likewise.
        * configure.ac: Check for stdint.h.
        (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
        * config.in, configure: Rebuild.

From-SVN: r81029
libiberty/ChangeLog
libiberty/config.in
libiberty/configure
libiberty/configure.ac
libiberty/hashtab.c