aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2003-05-07 20:30:13 +0000
committerJason Merrill <jason@redhat.com>2003-05-07 20:30:13 +0000
commiteafaf5ebda301c16b73c76bd72c6168a8948f46d (patch)
tree39d8e02cfd0a46e8eebb600bf5855b85a8874d4f
parent35f5df7fe8004e03e2d9ae4b8de5186562e8caca (diff)
downloadgdb-eafaf5ebda301c16b73c76bd72c6168a8948f46d.zip
gdb-eafaf5ebda301c16b73c76bd72c6168a8948f46d.tar.gz
gdb-eafaf5ebda301c16b73c76bd72c6168a8948f46d.tar.bz2
s/burtle/iterative
-rw-r--r--include/ChangeLog4
-rw-r--r--include/hashtab.h4
-rw-r--r--libiberty/ChangeLog2
-rw-r--r--libiberty/hashtab.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index ff914e1..e8a9dc3 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,7 +1,7 @@
2003-05-07 Jason Merrill <jason@redhat.com>
- * hashtab.h (burtle_hash): Prototype.
- (burtle_hash_object): New macro.
+ * hashtab.h (iterative_hash): Prototype.
+ (iterative_hash_object): New macro.
2003-04-28 H.J. Lu <hjl@gnu.org>
diff --git a/include/hashtab.h b/include/hashtab.h
index b86bb29..f7bd4ae 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -184,9 +184,9 @@ extern htab_eq htab_eq_pointer;
extern hashval_t htab_hash_string PARAMS ((const PTR));
/* An iterative hash function for arbitrary data. */
-extern hashval_t burtle_hash PARAMS ((const PTR, size_t, hashval_t));
+extern hashval_t iterative_hash PARAMS ((const PTR, size_t, hashval_t));
/* Shorthand for hashing something with an intrinsic size. */
-#define burtle_hash_object(OB,INIT) burtle_hash (&OB, sizeof (OB), INIT)
+#define iterative_hash_object(OB,INIT) iterative_hash (&OB, sizeof (OB), INIT)
#ifdef __cplusplus
}
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 5498f11..0669803 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -5,7 +5,7 @@
2003-05-07 Jason Merrill <jason@redhat.com>
- * hashtab.c (burtle_hash): New fn.
+ * hashtab.c (iterative_hash): New fn.
* configure.in: Add AC_C_BIGENDIAN_CROSS.
* aclocal.m4: Include accross.m4.
* configure, config.in: Regenerate.
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c
index 5b58d71..3896328 100644
--- a/libiberty/hashtab.c
+++ b/libiberty/hashtab.c
@@ -787,7 +787,7 @@ acceptable. Do NOT use for cryptographic purposes.
--------------------------------------------------------------------
*/
-hashval_t burtle_hash (k_in, length, initval)
+hashval_t iterative_hash (k_in, length, initval)
const PTR k_in; /* the key */
register size_t length; /* the length of the key */
register hashval_t initval; /* the previous hash, or an arbitrary value */