From 1fd608288ee47c2c560817f12f14b21069fed2f6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 28 Dec 2024 16:47:43 -0800 Subject: makefile and directory structure change completely to build client and server --- server/hash_table.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 server/hash_table.c (limited to 'server/hash_table.c') diff --git a/server/hash_table.c b/server/hash_table.c deleted file mode 100644 index cced194..0000000 --- a/server/hash_table.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include - -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; -} -- cgit