From 872cf03f26c2801ae6c3008ce5fa0d7856f5f85d Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 14 Dec 2025 18:10:13 +0100 Subject: libc: implement err/warn functions --- lib/libc/fcntl/creat.c | 1 - lib/libc/fcntl/fcntl.c | 2 +- lib/libc/fcntl/open.c | 1 - lib/libc/fcntl/openat.c | 1 - lib/libc/fcntl/posix_fadvise.c | 1 - lib/libc/fcntl/posix_fallocate.c | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/libc/fcntl') diff --git a/lib/libc/fcntl/creat.c b/lib/libc/fcntl/creat.c index 4b84ecae..436b343c 100644 --- a/lib/libc/fcntl/creat.c +++ b/lib/libc/fcntl/creat.c @@ -1,6 +1,5 @@ - #include // for creat #include // for mode_t #include // for __syscall_2, syscall diff --git a/lib/libc/fcntl/fcntl.c b/lib/libc/fcntl/fcntl.c index b3ca012f..ca1f682d 100644 --- a/lib/libc/fcntl/fcntl.c +++ b/lib/libc/fcntl/fcntl.c @@ -1,4 +1,4 @@ -#include "errno.h" // for EINVAL +#include "errno.h" // for EINVAL #include // for F_DUPFD_CLOEXEC, FD_CLOEXEC, F_SETFD, F_D... #include // for va_arg, va_end, va_list, va_start diff --git a/lib/libc/fcntl/open.c b/lib/libc/fcntl/open.c index ab59e3c7..3e19aaf2 100644 --- a/lib/libc/fcntl/open.c +++ b/lib/libc/fcntl/open.c @@ -1,6 +1,5 @@ - #include // for FD_CLOEXEC, F_SETFD, O_CLOEXEC, O_CREAT #include // for va_arg, va_end, va_list, va_start #include // for mode_t diff --git a/lib/libc/fcntl/openat.c b/lib/libc/fcntl/openat.c index d99693dc..e178e226 100644 --- a/lib/libc/fcntl/openat.c +++ b/lib/libc/fcntl/openat.c @@ -1,6 +1,5 @@ - #include // for O_CREAT, openat #include // for va_arg, va_end, va_list, va_start #include // for mode_t diff --git a/lib/libc/fcntl/posix_fadvise.c b/lib/libc/fcntl/posix_fadvise.c index 51018a27..74954461 100644 --- a/lib/libc/fcntl/posix_fadvise.c +++ b/lib/libc/fcntl/posix_fadvise.c @@ -1,6 +1,5 @@ - #include // for posix_fadvise #include // for off_t #include // for __syscall_4, syscall diff --git a/lib/libc/fcntl/posix_fallocate.c b/lib/libc/fcntl/posix_fallocate.c index c4a05fcc..f1d1e5ba 100644 --- a/lib/libc/fcntl/posix_fallocate.c +++ b/lib/libc/fcntl/posix_fallocate.c @@ -1,6 +1,5 @@ - #include // for posix_fallocate #include // for off_t #include // for __syscall_4, syscall -- cgit v1.2.3