aboutsummaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/list.h b/list.h
index 84b989d..39307fb 100644
--- a/list.h
+++ b/list.h
@@ -57,7 +57,7 @@ struct hash_element
struct hash_bucket
{
MUTEX_DEFINE (mutex);
- struct hash_element * volatile list;
+ struct hash_element *list;
};
struct hash
@@ -72,6 +72,7 @@ struct hash
};
struct hash *hash_init (const int n_buckets,
+ const uint32_t iv,
uint32_t (*hash_function)(const void *key, uint32_t iv),
bool (*compare_function)(const void *key1, const void *key2));