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 --- include/array.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 include/array.h (limited to 'include/array.h') diff --git a/include/array.h b/include/array.h deleted file mode 100644 index 948dad2..0000000 --- a/include/array.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef ARRAY_H -#define ARRAY_H - -#include -#define DEFAULT_ARR_LEN 10 - -typedef struct { - void **items; - size_t size; - size_t capacity; -} array_t; - -array_t *init_array(); - -void array_push(array_t *a, void *item); - -void *array_pop(array_t *a); - -void *array_del(array_t *a, unsigned int ind); - -void array_free(void *a, void (*freefunc)(void *)); - -#endif -- cgit