]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s/burtle/iterative
authorJason Merrill <jason@redhat.com>
Wed, 7 May 2003 20:30:32 +0000 (16:30 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 7 May 2003 20:30:32 +0000 (16:30 -0400)
From-SVN: r66577

include/ChangeLog
include/hashtab.h
libiberty/ChangeLog
libiberty/hashtab.c

index 2e839fa97095ae7747b3950c4d6702a1db73b508..e4aad2ba993b2fd2928ca7dc34cd5b63325382fb 100644 (file)
@@ -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-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
index b86bb29b80164086cc9f6a237edabb93f48927d3..f7bd4ae69d38cd18eb2b9dd56903f6ee7f5af710 100644 (file)
@@ -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
 }
index 5498f11215662e8e3f9e4a4461c092418941237d..066980339bac58e5f777406ef1cc59e83e77aa06 100644 (file)
@@ -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.
index 5b58d71ef13545c364f8c7c2169c9b555441d3c7..3896328717a37d3b04bc6cfa58348f56af6c8a93 100644 (file)
@@ -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 */