summaryrefslogtreecommitdiff
path: root/src/kernel/lib/std.h
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-01 14:55:18 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-01 14:55:18 +0200
commite8cf65c07d78e3cfbac953b1b97c51998a5900df (patch)
tree7b75741a1d38b5da1ee79e877709b6b4723c4713 /src/kernel/lib/std.h
parent5cac9acd3aedc8043d4272d93c56805c46ff6214 (diff)
downloadTCE-e8cf65c07d78e3cfbac953b1b97c51998a5900df.tar.gz
TCE-e8cf65c07d78e3cfbac953b1b97c51998a5900df.zip
Now using Doug Lea's malloc in kernel land. Next: same in userland.
Diffstat (limited to 'src/kernel/lib/std.h')
-rw-r--r--src/kernel/lib/std.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/kernel/lib/std.h b/src/kernel/lib/std.h
new file mode 100644
index 0000000..51e0435
--- /dev/null
+++ b/src/kernel/lib/std.h
@@ -0,0 +1,14 @@
+#ifndef DEF_LIB_STD_H
+#define DEF_LIB_STD_H
+
+// Functions enabling the use of dlmalloc code
+
+#include <types.h> /* For size_t */
+
+void abort();
+#define sbrk ksbrk
+#define brk kbrk
+
+extern int errno;
+
+#endif