aboutsummaryrefslogtreecommitdiff
path: root/libc/include/stdlib.h
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-17 15:33:03 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-17 15:33:03 -0500
commit6030b176c2819c83c625f257ad7e8632a8245ed9 (patch)
treefd98417c4f40a3bc8479a5900920a0ccd40fedd6 /libc/include/stdlib.h
parentef4cc242dc8ad04320d19af22931fcbdbf670c13 (diff)
downloadkappa-6030b176c2819c83c625f257ad7e8632a8245ed9.zip
kappa-6030b176c2819c83c625f257ad7e8632a8245ed9.tar.gz
kappa-6030b176c2819c83c625f257ad7e8632a8245ed9.tar.bz2
kappa-6030b176c2819c83c625f257ad7e8632a8245ed9.tar.xz
Emulate the Rockbox plugin API, ported xracer
Tons of changes
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r--libc/include/stdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h
index a6e27f2..49116df 100644
--- a/libc/include/stdlib.h
+++ b/libc/include/stdlib.h
@@ -1,6 +1,8 @@
#ifndef _STDLIB_H_
#define _STDLIB_H_
+#include <stddef.h>
+
/* this is by no means standards-compliant... but who cares? :P */
/* NOT reentrant! */
@@ -14,5 +16,7 @@ char* itoa(int val, int base);
unsigned int rand(void);
void srand(unsigned int);
int abs(int);
+void *malloc(size_t);
+int snprintf(char*, int, const char*, ...);
#endif