diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /lib/libc/stdio/ftrylockfile.c | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'lib/libc/stdio/ftrylockfile.c')
| -rw-r--r-- | lib/libc/stdio/ftrylockfile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/ftrylockfile.c b/lib/libc/stdio/ftrylockfile.c index b8f89e4b..0c25dfeb 100644 --- a/lib/libc/stdio/ftrylockfile.c +++ b/lib/libc/stdio/ftrylockfile.c @@ -1,8 +1,9 @@ #include <__stdio.h> -#include <atomic.h> +#include <stdatomic.h> +#include <stddef.h> #include <stdio.h> -int ftrylockfile(FILE *file) +int ftrylockfile(struct __FILE *file) { if (file == NULL) return -1; |
