summaryrefslogtreecommitdiff
path: root/lib/libc/fcntl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/fcntl')
-rw-r--r--lib/libc/fcntl/creat.c3
-rw-r--r--lib/libc/fcntl/fcntl.c1
-rw-r--r--lib/libc/fcntl/open.c3
-rw-r--r--lib/libc/fcntl/openat.c3
-rw-r--r--lib/libc/fcntl/posix_fadvise.c3
-rw-r--r--lib/libc/fcntl/posix_fallocate.c3
6 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/fcntl/creat.c b/lib/libc/fcntl/creat.c
index 43110794..4b84ecae 100644
--- a/lib/libc/fcntl/creat.c
+++ b/lib/libc/fcntl/creat.c
@@ -1,4 +1,5 @@
-#include "asm/unistd_64.h" // for __NR_creat
+
+
#include <fcntl.h> // for creat
#include <sys/types.h> // for mode_t
diff --git a/lib/libc/fcntl/fcntl.c b/lib/libc/fcntl/fcntl.c
index 6112567d..b3ca012f 100644
--- a/lib/libc/fcntl/fcntl.c
+++ b/lib/libc/fcntl/fcntl.c
@@ -1,4 +1,3 @@
-#include "asm/unistd_64.h" // for __NR_fcntl, __NR_close
#include "errno.h" // for EINVAL
#include <fcntl.h> // for F_DUPFD_CLOEXEC, FD_CLOEXEC, F_SETFD, F_D...
diff --git a/lib/libc/fcntl/open.c b/lib/libc/fcntl/open.c
index c00820c1..ab59e3c7 100644
--- a/lib/libc/fcntl/open.c
+++ b/lib/libc/fcntl/open.c
@@ -1,4 +1,5 @@
-#include "asm/unistd_64.h" // for __NR_fcntl, __NR_open
+
+
#include <fcntl.h> // for FD_CLOEXEC, F_SETFD, O_CLOEXEC, O_CREAT
#include <stdarg.h> // for va_arg, va_end, va_list, va_start
diff --git a/lib/libc/fcntl/openat.c b/lib/libc/fcntl/openat.c
index d3475f6b..d99693dc 100644
--- a/lib/libc/fcntl/openat.c
+++ b/lib/libc/fcntl/openat.c
@@ -1,4 +1,5 @@
-#include "asm/unistd_64.h" // for __NR_openat
+
+
#include <fcntl.h> // for O_CREAT, openat
#include <stdarg.h> // for va_arg, va_end, va_list, va_start
diff --git a/lib/libc/fcntl/posix_fadvise.c b/lib/libc/fcntl/posix_fadvise.c
index 08718294..51018a27 100644
--- a/lib/libc/fcntl/posix_fadvise.c
+++ b/lib/libc/fcntl/posix_fadvise.c
@@ -1,4 +1,5 @@
-#include "asm/unistd_64.h" // for __NR_fadvise64
+
+
#include <fcntl.h> // for posix_fadvise
#include <sys/types.h> // for off_t
diff --git a/lib/libc/fcntl/posix_fallocate.c b/lib/libc/fcntl/posix_fallocate.c
index 61129c4a..c4a05fcc 100644
--- a/lib/libc/fcntl/posix_fallocate.c
+++ b/lib/libc/fcntl/posix_fallocate.c
@@ -1,4 +1,5 @@
-#include "asm/unistd_64.h" // for __NR_fallocate
+
+
#include <fcntl.h> // for posix_fallocate
#include <sys/types.h> // for off_t