From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- lib/libc/stdio/fopen.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/libc/stdio/fopen.c') diff --git a/lib/libc/stdio/fopen.c b/lib/libc/stdio/fopen.c index 0265694a..20273077 100644 --- a/lib/libc/stdio/fopen.c +++ b/lib/libc/stdio/fopen.c @@ -1,11 +1,12 @@ +#include "stddef.h" #include <__stdio.h> -#include // for EINVAL, errno -#include // for O_WRONLY, O_CREAT, O_RDONLY, open, O_APPEND +#include // for EINVAL, errno +#include // for O_WRONLY, O_CREAT, O_RDONLY, open, O_APPEND +#include #include // for FILE, BUFSIZ, fopen, _IOLBF #include // for calloc, free, malloc #include // for strchr -#include #include // for close FILE *fopen(const char *restrict pathname, const char *restrict mode) -- cgit v1.2.3