diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-17 01:54:01 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-17 01:54:01 +0000 |
commit | 25fecab7965ee3319a4d55e45dcc042c342cd67a (patch) | |
tree | c51841d317571ca681b519d82b00ce01068e71fd /include | |
parent | 8ebf91ffefc10880feb8c8e5cddeef7a870696f5 (diff) | |
download | gcc-25fecab7965ee3319a4d55e45dcc042c342cd67a.tar.gz |
* hashtab.h (htab_hash_string): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44949 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-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 8eefec81086..9d0b4e6c98c 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-08-10 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 a577c5e2afe..8871710e5d8 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 */ |