aboutsummaryrefslogtreecommitdiff
path: root/lib/stdlib.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-11-08 17:19:45 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-11-08 17:54:13 +0200
commitdbdaa77fb5924b4b9e6b374a44ef76481a38d3d2 (patch)
treeabd4daf428532ac026a538e20138907b36c795c3 /lib/stdlib.h
parentAdd python-sphinx docs (diff)
downloadkernel-dbdaa77fb5924b4b9e6b374a44ef76481a38d3d2.tar.xz
Add FILE struct
Diffstat (limited to 'lib/stdlib.h')
-rw-r--r--lib/stdlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stdlib.h b/lib/stdlib.h
index 7f235f0..bd8474d 100644
--- a/lib/stdlib.h
+++ b/lib/stdlib.h
@@ -1,9 +1,11 @@
#pragma once
+#include <stddef.h>
+
/**
* Allocate size bytes and return a pointer to the allocated memory
*/
-void *malloc(unsigned int size);
+void *malloc(size_t size);
/**
* Free the memory space pointed to by ptr