From 4546c75d685475d8b9f215b588364e1d1bbd0b79 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 19:21:29 +0200 Subject: MUCH work in libc Also cleaned up some syscalls etc --- src/userspace/libc/stdlib/free.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/userspace/libc/stdlib/free.c (limited to 'src/userspace/libc/stdlib/free.c') diff --git a/src/userspace/libc/stdlib/free.c b/src/userspace/libc/stdlib/free.c new file mode 100644 index 0000000..65e9769 --- /dev/null +++ b/src/userspace/libc/stdlib/free.c @@ -0,0 +1,7 @@ +#include +#include + +void free(void *addr) +{ + syscall_free((u32)addr); +} \ No newline at end of file -- cgit v1.2.3