From 297b999d2a76e9f264295a3cf47111937aaa3482 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 15:10:04 +0000 Subject: Add GC collect function --- runtime/src/alloc.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'runtime/src/alloc.c') diff --git a/runtime/src/alloc.c b/runtime/src/alloc.c index f7972fbf..f68fb128 100644 --- a/runtime/src/alloc.c +++ b/runtime/src/alloc.c @@ -1,14 +1,5 @@ #include "./std/unistd.h" - -#ifdef __WASM__ - -void* malloc(unsigned long); - -#else - -#include - -#endif +#include "./alloc.h" void* shed__runtime__alloc(size_t size) { return malloc(size); -- cgit v1.2.3