summaryrefslogtreecommitdiff
path: root/os/src/malloc.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-24 18:23:01 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-24 19:43:52 +0100
commiteee119de6a2bd0487e91daf69e7962351e2a3c9c (patch)
treee0e3bbe6d234e30216a83b65abafadf9f4df75f3 /os/src/malloc.c
parent965df7faefabdd5f571b5eb46d45470223c91e12 (diff)
Dummy software compiles; fixed a few linking issues. Also, most of the kernel syscalls are missing.
Diffstat (limited to 'os/src/malloc.c')
-rw-r--r--os/src/malloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/src/malloc.c b/os/src/malloc.c
new file mode 100644
index 0000000..7d5f965
--- /dev/null
+++ b/os/src/malloc.c
@@ -0,0 +1,5 @@
+#include <reent.h>
+
+void * malloc(size_t size) {
+ return _malloc_r(_impure_ptr, size);
+}