+2015-11-05 Roland McGrath <roland@hack.frob.com>
+
+ * io/fcntl.c (__fcntl): Add ... to prototype.
+ * misc/ioctl.c (__ioctl): Likewise.
+ * misc/syscall.c (syscall): Likewise.
+
2015-11-05 Joseph Myers <joseph@codesourcery.com>
* scripts/list-fixed-bugs.py: New file.
/* Perform file control operations on FD. */
int
-__fcntl (int fd, int cmd)
+__fcntl (int fd, int cmd, ...)
{
if (fd < 0)
{
/* Perform the I/O control operation specified by REQUEST on FD.
The actual type and use of ARG and the return value depend on REQUEST. */
int
-__ioctl (int fd, unsigned long int request)
+__ioctl (int fd, unsigned long int request, ...)
{
__set_errno (ENOSYS);
return -1;
This only makes sense in certain operating systems. */
long int
-syscall (long int callno)
+syscall (long int callno, ...)
{
__set_errno (ENOSYS);
return -1;