diff options
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/hashtab.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 305754fec..b7d460e13 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2001-08-16 Richard Henderson <rth@redhat.com> + + * hashtab.h (htab_hash_string): Declare. + 2001-06-13 Andrew Cagney <ac131313@redhat.com> * libiberty.h (lbasename): Change function declaration to return a diff --git a/include/hashtab.h b/include/hashtab.h index a577c5e2a..8871710e5 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 */ |