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/fclose.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc/stdio/fclose.c') diff --git a/lib/libc/stdio/fclose.c b/lib/libc/stdio/fclose.c index 8b0586c6..4534715b 100644 --- a/lib/libc/stdio/fclose.c +++ b/lib/libc/stdio/fclose.c @@ -1,6 +1,6 @@ -#include // for __IMPL -#include // for fflush, FILE, fclose, stderr, stdin, stdout -#include // for close +#include <__stdio.h> // for __FILE +#include // for fflush, FILE, fclose, stderr, stdin, stdout +#include // for close int fclose(FILE *stream) { @@ -8,7 +8,7 @@ int fclose(FILE *stream) return -1; if (stream != stdin && stream != stdout && stream != stderr) { - if (close(__IMPL(stream)->fd) == -1) + if (close((__FILE(stream))->fd) == -1) return -1; } -- cgit v1.2.3