add proper fuxed-based locking for stdio
[musl] / src / stdio / fgetwc.c
index 5e42059..6f9f9ec 100644 (file)
@@ -34,7 +34,6 @@ wint_t __fgetwc_unlocked(FILE *f)
                if (l == -1) return WEOF;
        }
 
-       FUNLOCK(f);
        return wc;
 }