From 4bc0c9275019d387a251ee58ca065200c8e14bd1 Mon Sep 17 00:00:00 2001 From: tabascoeye Date: Thu, 22 May 2014 10:10:34 +0200 Subject: [PATCH] no tags needed => discarded --- hashmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hashmap.h b/hashmap.h index 9b4b7f6..0a32675 100644 --- a/hashmap.h +++ b/hashmap.h @@ -4,7 +4,7 @@ #include #include -typedef struct _hashmap_entry { +typedef struct { void * key; void * value; uint32_t hash; @@ -13,7 +13,7 @@ typedef struct _hashmap_entry { typedef uint32_t (*hashmap_hash_fn)(const void * key, const size_t size); typedef bool (*hashmap_equals_fn)(const void * key1, const void * key2, const size_t size); -typedef struct _hashmap { +typedef struct { hashmap_entry *entries; double load_factor; size_t size;