add proper fuxed-based locking for stdio
[musl] / src / stdio / stdin.c
index 51c9923..476dc70 100644 (file)
@@ -9,5 +9,7 @@ static FILE f = {
        .read = __stdio_read,
        .seek = __stdio_seek,
        .close = __stdio_close,
+       .lock = -1,
 };
 FILE *const stdin = &f;
+FILE *const __stdin_used = &f;