diff options
Diffstat (limited to 'libparc/parc/algol/parc_HashCodeTable.c')
-rw-r--r--[-rwxr-xr-x] | libparc/parc/algol/parc_HashCodeTable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libparc/parc/algol/parc_HashCodeTable.c b/libparc/parc/algol/parc_HashCodeTable.c index 9531e312..d4c5a7ae 100755..100644 --- a/libparc/parc/algol/parc_HashCodeTable.c +++ b/libparc/parc/algol/parc_HashCodeTable.c @@ -165,7 +165,7 @@ _rehash(LinearAddressingHashTable *old_table, LinearAddressingHashTable *new_tab } static void -_expand(PARCHashCodeTable *hashCodeTable) +_expandTable(PARCHashCodeTable *hashCodeTable) { LinearAddressingHashTable temp_table; LinearAddressingHashTable *old_table = &hashCodeTable->hashtable; @@ -269,7 +269,7 @@ parcHashCodeTable_Add(PARCHashCodeTable *table, void *key, void *data) parcAssertNotNull(data, "Parameter data must be non-null"); if (table->hashtable.tableSize >= table->hashtable.expandThreshold) { - _expand(table); + _expandTable(table); } HashCodeType hashcode = table->keyHashCodeFunc(key); @@ -278,7 +278,7 @@ parcHashCodeTable_Add(PARCHashCodeTable *table, void *key, void *data) do { result = _innerTableAdd(&table->hashtable, table->keyEqualsFunc, hashcode, key, data); if (result == ADD_NOSPACE) { - _expand(table); + _expandTable(table); } } while (result == ADD_NOSPACE); |