aboutsummaryrefslogtreecommitdiff
path: root/src/hash_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash_table.c')
-rw-r--r--src/hash_table.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/hash_table.c b/src/hash_table.c
deleted file mode 100644
index cced194..0000000
--- a/src/hash_table.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <hash_table.h>
-#include <stdlib.h>
-#include <helpers.h>
-
-ht_t *init_ht(size_t size) {
- ht_t *ht = safe_calloc(1, sizeof(size));
- size_t realsize = size == 0 ? DEFAULT_HT_SIZE : size;
- ht->buckets = safe_calloc(realsize, sizeof(sll_t *));
- ht->size = realsize;
- return ht;
-}