aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-06-02 13:21:30 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-06-02 13:21:30 +0200
commitbfb83ebd8f23971100d832b5343d0f7cf3b94353 (patch)
treeb7c3ab82b57344e063c2d4b28a2fded73e3111ae
parentee55e3c8fbc1b24aa725b5d6e6fe8c838bc92696 (diff)
downloadglibc-bfb83ebd8f23971100d832b5343d0f7cf3b94353.tar
glibc-bfb83ebd8f23971100d832b5343d0f7cf3b94353.tar.gz
glibc-bfb83ebd8f23971100d832b5343d0f7cf3b94353.tar.bz2
glibc-bfb83ebd8f23971100d832b5343d0f7cf3b94353.zip
sysdeps/unix/sysv/linux/dl-openat64.c: Convert to ISO definition
Partial backport of commit 9dd346ff431fc761f1b748bd4da8bb59f7652094.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/dl-openat64.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 961fc2a925..2433fc206c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-02 Florian Weimer <fweimer@redhat.com>
+
+ * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Convert to
+ ISO-style variadic function definition.
+
2015-12-11 Steve Ellcey <sellcey@imgtec.com>
* sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
diff --git a/sysdeps/unix/sysv/linux/dl-openat64.c b/sysdeps/unix/sysv/linux/dl-openat64.c
index 732097dd92..ae15e3af06 100644
--- a/sysdeps/unix/sysv/linux/dl-openat64.c
+++ b/sysdeps/unix/sysv/linux/dl-openat64.c
@@ -23,10 +23,7 @@
int
-openat64 (dfd, file, oflag)
- int dfd;
- const char *file;
- int oflag;
+openat64 (int dfd, const char *file, int oflag, ...)
{
assert (!__OPEN_NEEDS_MODE (oflag));