From: Richard Henderson Date: Fri, 17 Aug 2001 01:54:01 +0000 (-0700) Subject: * hashtab.h (htab_hash_string): Declare. X-Git-Tag: prereleases/libstdc++-3.0.95~2617 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=457f49df106a2ac222c1d86f6638c0337ed3f996;p=thirdparty%2Fgcc.git * hashtab.h (htab_hash_string): Declare. From-SVN: r44949 --- diff --git a/include/ChangeLog b/include/ChangeLog index 8eefec810868..9d0b4e6c98cf 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2001-08-16 Richard Henderson + + * hashtab.h (htab_hash_string): Declare. + 2001-08-10 Andrew Cagney * libiberty.h (lbasename): Change function declaration to return a diff --git a/include/hashtab.h b/include/hashtab.h index a577c5e2afe6..8871710e5d8b 100644 --- a/include/hashtab.h +++ b/include/hashtab.h @@ -145,6 +145,9 @@ extern htab_hash htab_hash_pointer; /* An equality function for pointers. */ extern htab_eq htab_eq_pointer; +/* A hash function for null-terminated strings. */ +extern hashval_t htab_hash_string PARAMS ((const PTR)); + #ifdef __cplusplus } #endif /* __cplusplus */