correct locking in stdio functions that tried to be lock-free
[musl] / src / stdio / fgetws.c
index 2e76b56..fab9bd0 100644 (file)
@@ -2,7 +2,7 @@
 
 wint_t __fgetwc_unlocked(FILE *);
 
-wchar_t *fgetws(wchar_t *s, int n, FILE *f)
+wchar_t *fgetws(wchar_t *restrict s, int n, FILE *restrict f)
 {
        wchar_t *p = s;