diff options
author | Marvin Borner | 2020-04-29 19:21:29 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-29 19:21:29 +0200 |
commit | 4546c75d685475d8b9f215b588364e1d1bbd0b79 (patch) | |
tree | 2077f72ad46dfe877f7febdd0692edc139fd7937 /src/userspace/libc/stdlib/free.c | |
parent | 396d7d303d3bf0e796d0c817883ec1dec928352a (diff) |
MUCH work in libc
Also cleaned up some syscalls etc
Diffstat (limited to 'src/userspace/libc/stdlib/free.c')
-rw-r--r-- | src/userspace/libc/stdlib/free.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <stdint.h> +#include <syscall.h> + +void free(void *addr) +{ + syscall_free((u32)addr); +}
\ No newline at end of file |