summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/getc.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/getc.c')
-rw-r--r--newlib/libc/machine/spu/getc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/machine/spu/getc.c b/newlib/libc/machine/spu/getc.c
index 67879901d..213badaa0 100644
--- a/newlib/libc/machine/spu/getc.c
+++ b/newlib/libc/machine/spu/getc.c
@@ -49,8 +49,6 @@ getc (fp)
ret = fp->_fp;
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_GETC, &ret);
-
- return ret;
+ return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_GETC, &ret);
}
#endif /* ! _REENT_ONLY */