* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
* 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>
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);
}