Kaynağa Gözat

Do ppc specific __ioctl too

Peter S. Mazinger 20 yıl önce
ebeveyn
işleme
1194c25c32
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      libc/sysdeps/linux/powerpc/ioctl.c

+ 3 - 1
libc/sysdeps/linux/powerpc/ioctl.c

@@ -29,10 +29,11 @@
    using the new-style struct termios, and translate them to old-style.  */
    using the new-style struct termios, and translate them to old-style.  */
 
 
 #define __NR___syscall_ioctl __NR_ioctl
 #define __NR___syscall_ioctl __NR_ioctl
+static inline
 _syscall3(int, __syscall_ioctl, int, fd, unsigned long int, request, void *, arg);
 _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;
     void *arg;
     va_list ap;
     va_list ap;
@@ -68,3 +69,4 @@ int ioctl (int fd, unsigned long int request, ...)
 
 
     return result;
     return result;
 }
 }
+strong_alias(__ioctl,ioctl)