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