From f75226e6de9ebc40784cb5a906c97b8a68bc0c60 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 Nov 2015 15:00:12 -0800 Subject: Fix some stub prototypes missing ... after K&R conversion --- misc/ioctl.c | 2 +- misc/syscall.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') 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; -- cgit v1.2.3