diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/openat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/openat.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/openat.c b/sysdeps/unix/sysv/linux/openat.c index 95c98086cc..5145823b8e 100644 --- a/sysdeps/unix/sysv/linux/openat.c +++ b/sysdeps/unix/sysv/linux/openat.c @@ -37,11 +37,7 @@ int -OPENAT_NOT_CANCEL (fd, file, oflag, mode) - int fd; - const char *file; - int oflag; - mode_t mode; +OPENAT_NOT_CANCEL (int fd, const char *file, int oflag, mode_t mode) { /* We have to add the O_LARGEFILE flag for openat64. */ @@ -61,10 +57,7 @@ OPENAT_NOT_CANCEL (fd, file, oflag, mode) the directory associated with FD. If OFLAG includes O_CREAT, a third argument is the file protection. */ int -__OPENAT (fd, file, oflag) - int fd; - const char *file; - int oflag; +__OPENAT (int fd, const char *file, int oflag, ...) { mode_t mode = 0; if (oflag & O_CREAT) |