diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
| commit | 169daa11155988a210fac949297381743f3cb400 (patch) | |
| tree | 602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libc/stdio/stdin.c | |
| parent | 4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff) | |
feat: clang-tidy fixes
Diffstat (limited to 'lib/libc/stdio/stdin.c')
| -rw-r--r-- | lib/libc/stdio/stdin.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <fcntl.h> // for O_RDONLY +#include <stdio.h> // for FILE, stdin #include <unistd.h> // 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; |
