diff options
author | Andreas Jaeger <aj@suse.de> | 2003-09-05 07:58:18 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2003-09-05 07:58:18 +0000 |
commit | 76d0a2c4abb373551d7ff3559c9808907944041b (patch) | |
tree | 41876879ed77a235eea532a7c9e04e3b0967964b | |
parent | 13277fe1f60e8ff3a82e6bf233e0c6eeaf85797b (diff) | |
download | glibc-76d0a2c4abb373551d7ff3559c9808907944041b.zip glibc-76d0a2c4abb373551d7ff3559c9808907944041b.tar.gz glibc-76d0a2c4abb373551d7ff3559c9808907944041b.tar.bz2 |
Update.
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/fcntl.c | 9 |
2 files changed, 9 insertions, 1 deletions
@@ -3,6 +3,7 @@ * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change prototype to use variable argument lists and get the possible one argument via va_arg. + * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise. 2003-09-04 Ulrich Drepper <drepper@redhat.com> diff --git a/sysdeps/unix/sysv/linux/fcntl.c b/sysdeps/unix/sysv/linux/fcntl.c index 33651d3..a6793bc 100644 --- a/sysdeps/unix/sysv/linux/fcntl.c +++ b/sysdeps/unix/sysv/linux/fcntl.c @@ -26,8 +26,15 @@ int -__fcntl_nocancel (int fd, int cmd, void *arg) +__fcntl_nocancel (int fd, int cmd, ...) { + va_list ap; + void *arg; + + va_start (ap, cmd); + arg = va_arg (ap, void *); + va_end (ap); + return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg); } |