fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / stdout.c
index 552d729e48f399f3f3b6a28649a2c75691c0faf4..3855dd0be2f812906d2493ad0f47b46ee43e8233 100644 (file)
@@ -10,8 +10,7 @@ static FILE f = {
        .write = __stdout_write,
        .seek = __stdio_seek,
        .close = __stdio_close,
+       .lock = -1,
 };
 FILE *const stdout = &f;
-
-/* overrides symbol in fflush.c, used for flushing NULL */
-FILE *const __stdout_to_flush = &f;
+FILE *const __stdout_used = &f;