summaryrefslogtreecommitdiffstats
path: root/src/include/stdlib.h
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-05-21 16:03:32 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-05-21 16:03:32 -0500
commita0e3bdeaed824af328e0bafc59e69ebfd1b3de4e (patch)
tree469c99443aface768c7b70a018d34409cec432d8 /src/include/stdlib.h
parent343cc75d83b7d71a23adb49e0d530eb59997a154 (diff)
downloadtalos-hostboot-a0e3bdeaed824af328e0bafc59e69ebfd1b3de4e.tar.gz
talos-hostboot-a0e3bdeaed824af328e0bafc59e69ebfd1b3de4e.zip
malloc / free support
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r--src/include/stdlib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
new file mode 100644
index 000000000..46c463119
--- /dev/null
+++ b/src/include/stdlib.h
@@ -0,0 +1,18 @@
+#ifndef __STDLIB_H
+#define __STDLIB_H
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+void* malloc(size_t);
+void free(void*);
+
+#ifdef __cplusplus
+};
+#endif
+
+#endif
OpenPOWER on IntegriCloud