mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Fix some stub prototypes missing ... after K&R conversion
This commit is contained in:
@ -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>
|
2015-11-05 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* scripts/list-fixed-bugs.py: New file.
|
* scripts/list-fixed-bugs.py: New file.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
/* Perform file control operations on FD. */
|
/* Perform file control operations on FD. */
|
||||||
int
|
int
|
||||||
__fcntl (int fd, int cmd)
|
__fcntl (int fd, int cmd, ...)
|
||||||
{
|
{
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
/* Perform the I/O control operation specified by REQUEST on FD.
|
/* 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. */
|
The actual type and use of ARG and the return value depend on REQUEST. */
|
||||||
int
|
int
|
||||||
__ioctl (int fd, unsigned long int request)
|
__ioctl (int fd, unsigned long int request, ...)
|
||||||
{
|
{
|
||||||
__set_errno (ENOSYS);
|
__set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
This only makes sense in certain operating systems. */
|
This only makes sense in certain operating systems. */
|
||||||
|
|
||||||
long int
|
long int
|
||||||
syscall (long int callno)
|
syscall (long int callno, ...)
|
||||||
{
|
{
|
||||||
__set_errno (ENOSYS);
|
__set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user