aboutsummaryrefslogtreecommitdiff
path: root/lib/stdlib.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-11-06 14:29:39 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-11-06 14:29:39 +0200
commit2e0702c597e3099316c8c82379c3425ecc7a2dd2 (patch)
tree58860a91682a61d1e5bdf24b73617b4ad49b0de6 /lib/stdlib.h
parentmakefile: replace ,SRCS with .SRCS (diff)
downloadkernel-2e0702c597e3099316c8c82379c3425ecc7a2dd2.tar.xz
lib/malloc: add linked list implementation
Diffstat (limited to 'lib/stdlib.h')
-rw-r--r--lib/stdlib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/stdlib.h b/lib/stdlib.h
new file mode 100644
index 0000000..6b8e09d
--- /dev/null
+++ b/lib/stdlib.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <stddef.h>
+
+void *malloc(size_t size);
+void free(void *ptr);