summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/stdio.c')
-rw-r--r--newlib/libc/machine/spu/stdio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/machine/spu/stdio.c b/newlib/libc/machine/spu/stdio.c
index 13addad26..997ccb7a0 100644
--- a/newlib/libc/machine/spu/stdio.c
+++ b/newlib/libc/machine/spu/stdio.c
@@ -80,3 +80,9 @@ _DEFUN (__sinit, (s),
s->_stderr = &s->__sf[2];
s->_stderr->_fp = SPE_STDERR;
}
+
+_VOID
+_DEFUN_VOID (__check_init)
+{
+ CHECK_INIT(_REENT);
+}