svn commit: trunk/uClibc/libc/sysdeps/linux/powerpc

psm at uclibc.org psm at uclibc.org
Thu Dec 8 14:22:38 UTC 2005


Author: psm
Date: 2005-12-08 06:22:29 -0800 (Thu, 08 Dec 2005)
New Revision: 12738

Log:
Do ppc specific __ioctl too

Modified:
   trunk/uClibc/libc/sysdeps/linux/powerpc/ioctl.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/ioctl.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/ioctl.c	2005-12-08 14:20:28 UTC (rev 12737)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/ioctl.c	2005-12-08 14:22:29 UTC (rev 12738)
@@ -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 @@
 
     return result;
 }
+strong_alias(__ioctl,ioctl)




More information about the uClibc-cvs mailing list