diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 14:22:29 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 14:22:29 +0000 |
commit | 1194c25c32a91132a9260d7b8ec99a304cbdb0eb (patch) | |
tree | feb9f74f249423334dad77d9995b3d1a53c233bb /libc/sysdeps/linux | |
parent | 0a8a65e0a060c05371214dc0d9f75381d167952c (diff) |
Do ppc specific __ioctl too
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/powerpc/ioctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/ioctl.c b/libc/sysdeps/linux/powerpc/ioctl.c index a522ff6d4..bb8842bb6 100644 --- a/libc/sysdeps/linux/powerpc/ioctl.c +++ b/libc/sysdeps/linux/powerpc/ioctl.c @@ -29,10 +29,11 @@ using the new-style struct termios, and translate them to old-style. */ #define __NR___syscall_ioctl __NR_ioctl +static inline _syscall3(int, __syscall_ioctl, int, fd, unsigned long int, request, void *, arg); -int ioctl (int fd, unsigned long int request, ...) +int attribute_hidden __ioctl (int fd, unsigned long int request, ...) { void *arg; va_list ap; @@ -68,3 +69,4 @@ int ioctl (int fd, unsigned long int request, ...) return result; } +strong_alias(__ioctl,ioctl) |