summaryrefslogtreecommitdiff
path: root/src/user/lib/include/stdlib.h
diff options
context:
space:
mode:
authordzwdz2022-07-26 19:31:06 +0200
committerdzwdz2022-07-26 19:31:06 +0200
commita3e27d361919392eeb0086ed93b105d8301c7913 (patch)
tree91996a17172b650416bda82a472336b9d0edcdf0 /src/user/lib/include/stdlib.h
parent7a29c68ce0dc190cd6350746210441bc41d7da91 (diff)
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/lib/include/stdlib.h')
-rw-r--r--src/user/lib/include/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/include/stdlib.h b/src/user/lib/include/stdlib.h
new file mode 100644
index 0000000..5916ebc
--- /dev/null
+++ b/src/user/lib/include/stdlib.h
@@ -0,0 +1,5 @@
+#pragma once
+#include <stddef.h>
+
+void *malloc(size_t size);
+void free(void *ptr);