]> sourceware.org Git - glibc.git/commitdiff
Fix some stub prototypes missing ... after K&R conversion
authorRoland McGrath <roland@hack.frob.com>
Thu, 5 Nov 2015 23:00:12 +0000 (15:00 -0800)
committerRoland McGrath <roland@hack.frob.com>
Thu, 5 Nov 2015 23:00:12 +0000 (15:00 -0800)
ChangeLog
io/fcntl.c
misc/ioctl.c
misc/syscall.c

index 26105256b25265e5968e06597ae8b8e598fc2bb4..26cde5b1ce90c7fd63f118c9a9dbf80ad4bb30f3 100644 (file)
--- 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.
index 996a0d5863e322678bc18da42e6945f191a4d062..8bfda94a776673a8055223592a51417f41b7a55f 100644 (file)
@@ -20,7 +20,7 @@
 
 /* Perform file control operations on FD.  */
 int
-__fcntl (int fd, int cmd)
+__fcntl (int fd, int cmd, ...)
 {
   if (fd < 0)
     {
index d07c3d99949a4bf347b4651185058c3816d33e4f..edc27438a4d28b6d676d374ce1e0e47819d05d29 100644 (file)
@@ -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;
index f8237365f2e61e6a7d684c2a534e6ff3b8001fc8..ed5109c383d0ca526a0da87aea5baaa1ebfe9e42 100644 (file)
@@ -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;
This page took 0.09511 seconds and 5 git commands to generate.