aboutsummaryrefslogtreecommitdiff
path: root/common/stdlib.h
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-04-26 14:57:08 +0200
committerGuido Günther <agx@sigxcpu.org>2009-04-26 15:26:25 +0200
commit3c8b9481088b546af3f0fd161a432ba0f0cb682e (patch)
treee6a83124f6becb94abc6dfbd03b8bd6400170f81 /common/stdlib.h
parentd8a73fe012567565113419dc0c4678df5abe5bc5 (diff)
Move libc functions into a pseudo libc away from libarc
Diffstat (limited to 'common/stdlib.h')
-rw-r--r--common/stdlib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/stdlib.h b/common/stdlib.h
new file mode 100644
index 0000000..8bd1e8b
--- /dev/null
+++ b/common/stdlib.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright 1999 Silicon Graphics, Inc.
+ */
+#ifndef _STDLIB_H_
+#define _STDLIB_H_
+
+#include "stddef.h"
+
+extern void *malloc(size_t size);
+extern void free(void *ptr);
+extern void *realloc(void *ptr, size_t size);
+
+extern void arclib_malloc_add(unsigned long start, unsigned long size);
+
+#endif /* _STDLIB_H_ */