diff options
author | Preston Pan <ret2pop@gmail.com> | 2024-12-28 16:47:43 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2024-12-28 16:47:43 -0800 |
commit | 1fd608288ee47c2c560817f12f14b21069fed2f6 (patch) | |
tree | e6460b92dba5bb0d089c8c2a4e794e3504098359 /server/hash_table.c | |
parent | 63f11aaec8d21844a07fd27003a992c102a3a297 (diff) |
makefile and directory structure change completely to build client and server
Diffstat (limited to 'server/hash_table.c')
-rw-r--r-- | server/hash_table.c | 11 |
1 files changed, 0 insertions, 11 deletions
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 <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; -} |