summaryrefslogtreecommitdiff
path: root/src/stdio/stdout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/stdout.c')
-rw-r--r--src/stdio/stdout.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stdio/stdout.c b/src/stdio/stdout.c
index 552d729e..3855dd0b 100644
--- a/src/stdio/stdout.c
+++ b/src/stdio/stdout.c
@@ -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;