aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-16 18:54:01 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-16 18:54:01 -0700
commit457f49df106a2ac222c1d86f6638c0337ed3f996 (patch)
treec51841d317571ca681b519d82b00ce01068e71fd
parentd9b6874b0c8f24e6adb785121381c24f87c726c4 (diff)
downloadgcc-457f49df106a2ac222c1d86f6638c0337ed3f996.zip
gcc-457f49df106a2ac222c1d86f6638c0337ed3f996.tar.gz
gcc-457f49df106a2ac222c1d86f6638c0337ed3f996.tar.bz2
* hashtab.h (htab_hash_string): Declare.
From-SVN: r44949
-rw-r--r--include/ChangeLog4
-rw-r--r--include/hashtab.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 8eefec8..9d0b4e6 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 a577c5e..8871710 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 */