From af4a85978598f5fd32a415ebb419d190adce4b22 Mon Sep 17 00:00:00 2001 From: Daniel Hader Date: Thu, 18 Jun 2026 20:59:50 -0500 Subject: structs are now typedef'ed for brevity --- test/test_vec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/test_vec.c b/test/test_vec.c index a9788eb..9343e03 100644 --- a/test/test_vec.c +++ b/test/test_vec.c @@ -1,19 +1,18 @@ #include -#include #include #include "util/alloc.h" #include "util/vec.h" int main(int argc, char **argv) { - struct LEO_Allocator allocator = { + LEO_Allocator allocator = { malloc, realloc, free, NULL }; - struct LEO_Vec vec; + LEO_Vec vec; assert(LEO_Vec_init(&vec, sizeof(int), allocator) == LEO_Vec_OK); for (int i = 0; i < 100; i++) { -- cgit v1.2.3