summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/reallocr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/reallocr.c')
-rw-r--r--newlib/libc/sys/linux/reallocr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/reallocr.c b/newlib/libc/sys/linux/reallocr.c
new file mode 100644
index 000000000..873c1b0e5
--- /dev/null
+++ b/newlib/libc/sys/linux/reallocr.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+void *
+_realloc_r (struct _reent *ptr, void *old, size_t newlen)
+{
+ return realloc (old, newlen);
+}