summaryrefslogtreecommitdiff
path: root/gcc/fixinc/tests/base/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/tests/base/malloc.h')
-rw-r--r--gcc/fixinc/tests/base/malloc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/malloc.h b/gcc/fixinc/tests/base/malloc.h
new file mode 100644
index 00000000000..6181891ed9d
--- /dev/null
+++ b/gcc/fixinc/tests/base/malloc.h
@@ -0,0 +1,9 @@
+
+
+#if defined( SUN_MALLOC_CHECK )
+typedef void * malloc_t;
+void free();
+void* malloc();
+void* calloc();
+void* realloc();
+#endif /* SUN_MALLOC_CHECK */