OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8a65e
)
Do ppc specific __ioctl too
author
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 8 Dec 2005 14:22:29 +0000
(14:22 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 8 Dec 2005 14:22:29 +0000
(14:22 -0000)
libc/sysdeps/linux/powerpc/ioctl.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/powerpc/ioctl.c
b/libc/sysdeps/linux/powerpc/ioctl.c
index
a522ff6
..
bb8842b
100644
(file)
--- 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)