aboutsummaryrefslogtreecommitdiff
path: root/lib/stdlib.h
diff options
context:
space:
mode:
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