aboutsummaryrefslogtreecommitdiff
path: root/gdb/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stdlib.h')
-rwxr-xr-xgdb/stdlib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/stdlib.h b/gdb/stdlib.h
new file mode 100755
index 0000000..40ce167
--- /dev/null
+++ b/gdb/stdlib.h
@@ -0,0 +1,10 @@
+/* Fake stdlib.h supplying the stuff needed by malloc. */
+
+#ifndef __ONEFILE
+#include <stddef.h>
+#endif
+
+extern void EXFUN(abort, (void));
+extern void EXFUN(free, (PTR));
+extern PTR EXFUN(malloc, (size_t));
+extern PTR EXFUN(realloc, (PTR, size_t));