about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-11-05 15:00:12 -0800
committerRoland McGrath <roland@hack.frob.com>2015-11-05 15:00:12 -0800
commitf75226e6de9ebc40784cb5a906c97b8a68bc0c60 (patch)
treea72a9b3845cb109f6bb8466d593d4cb5e81701de
parentf268ab5f69b70ffc3e5fae70f57c7e71cd475319 (diff)
downloadglibc-f75226e6de9ebc40784cb5a906c97b8a68bc0c60.tar.gz
glibc-f75226e6de9ebc40784cb5a906c97b8a68bc0c60.tar.xz
glibc-f75226e6de9ebc40784cb5a906c97b8a68bc0c60.zip
Fix some stub prototypes missing ... after K&R conversion
-rw-r--r--ChangeLog6
-rw-r--r--io/fcntl.c2
-rw-r--r--misc/ioctl.c2
-rw-r--r--misc/syscall.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 26105256b2..26cde5b1ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
diff --git a/io/fcntl.c b/io/fcntl.c
index 996a0d5863..8bfda94a77 100644
--- a/io/fcntl.c
+++ b/io/fcntl.c
@@ -20,7 +20,7 @@
 
 /* Perform file control operations on FD.  */
 int
-__fcntl (int fd, int cmd)
+__fcntl (int fd, int cmd, ...)
 {
   if (fd < 0)
     {
diff --git a/misc/ioctl.c b/misc/ioctl.c
index d07c3d9994..edc27438a4 100644
--- a/misc/ioctl.c
+++ b/misc/ioctl.c
@@ -21,7 +21,7 @@
 /* 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;
diff --git a/misc/syscall.c b/misc/syscall.c
index f8237365f2..ed5109c383 100644
--- a/misc/syscall.c
+++ b/misc/syscall.c
@@ -23,7 +23,7 @@
    This only makes sense in certain operating systems.  */
 
 long int
-syscall (long int callno)
+syscall (long int callno, ...)
 {
   __set_errno (ENOSYS);
   return -1;