diff options
Diffstat (limited to 'newlib/libc/stdio/fgetws.c')
-rw-r--r-- | newlib/libc/stdio/fgetws.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/newlib/libc/stdio/fgetws.c b/newlib/libc/stdio/fgetws.c index 3dbae06cb..2784f1513 100644 --- a/newlib/libc/stdio/fgetws.c +++ b/newlib/libc/stdio/fgetws.c @@ -93,7 +93,6 @@ _DEFUN(_fgetws_r, (ptr, ws, n, fp), const char *src; unsigned char *nl; - __sfp_lock_acquire (); _flockfile (fp); ORIENT (fp, 1); @@ -144,12 +143,10 @@ _DEFUN(_fgetws_r, (ptr, ws, n, fp), goto error; *wsp++ = L'\0'; _funlockfile (fp); - __sfp_lock_release (); return ws; error: _funlockfile (fp); - __sfp_lock_release (); return NULL; } |