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>
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
}
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.
--------------------------------------------------------------------
*/
-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 */