diff options
Diffstat (limited to 'newlib/libc/stdio/fgetc.c')
-rw-r--r-- | newlib/libc/stdio/fgetc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fgetc.c b/newlib/libc/stdio/fgetc.c index 9837a2ebc..e275cfeeb 100644 --- a/newlib/libc/stdio/fgetc.c +++ b/newlib/libc/stdio/fgetc.c @@ -93,11 +93,9 @@ _DEFUN(fgetc, (fp), #if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__) int result; CHECK_INIT(_REENT, fp); - __sfp_lock_acquire (); _flockfile (fp); result = __sgetc_r (_REENT, fp); _funlockfile (fp); - __sfp_lock_release (); return result; #else return _fgetc_r (_REENT, fp); |