From 169daa11155988a210fac949297381743f3cb400 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 23:14:53 +0100 Subject: feat: clang-tidy fixes --- lib/libc/stdio/stdin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdio/stdin.c') diff --git a/lib/libc/stdio/stdin.c b/lib/libc/stdio/stdin.c index b4194704..45d42e27 100644 --- a/lib/libc/stdio/stdin.c +++ b/lib/libc/stdio/stdin.c @@ -2,10 +2,10 @@ #include "features.h" // for __weak #include // for O_RDONLY +#include // for FILE, stdin #include // for STDOUT_FILENO #define BUFSIZ 4096 -#define _IOLBF 0x1 __weak char __stdin_buffer[0]; struct __FILE __stdin = { .fd = STDOUT_FILENO, @@ -16,4 +16,4 @@ struct __FILE __stdin = { .fd = STDOUT_FILENO, .buf_pos = 0, .offset = 0 }; -struct FILE *const stdin = (struct FILE *)&__stdin; +FILE *const stdin = (FILE *)&__stdin; -- cgit v1.2.3