summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/powerpc/vec_realloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/powerpc/vec_realloc.c')
-rw-r--r--newlib/libc/machine/powerpc/vec_realloc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/newlib/libc/machine/powerpc/vec_realloc.c b/newlib/libc/machine/powerpc/vec_realloc.c
new file mode 100644
index 000000000..e192e399d
--- /dev/null
+++ b/newlib/libc/machine/powerpc/vec_realloc.c
@@ -0,0 +1,17 @@
+/* vec_realloc.c -- a wrapper for _vec_realloc_r. */
+
+#include <_ansi.h>
+#include <reent.h>
+#include <stdlib.h>
+
+#ifndef _REENT_ONLY
+
+_PTR
+_DEFUN (vec_realloc, (ap, nbytes),
+ _PTR ap _AND
+ size_t nbytes)
+{
+ return _vec_realloc_r (_REENT, ap, nbytes);
+}
+
+#endif