summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/malloptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/malloptr.c')
-rw-r--r--newlib/libc/sys/linux/malloptr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/malloptr.c b/newlib/libc/sys/linux/malloptr.c
new file mode 100644
index 000000000..13d4e9f6a
--- /dev/null
+++ b/newlib/libc/sys/linux/malloptr.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+int
+_mallopt_r (struct _reent *ptr, int param_number, int value)
+{
+ return mallopt (param_number, value);
+}