diff options
| author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 00:58:03 +0000 | 
|---|---|---|
| committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 00:58:03 +0000 | 
| commit | af0172162f7c653cad6a11ed1c1a5459bc154465 (patch) | |
| tree | 70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/sysdeps/linux/powerpc/ioctl.c | |
| parent | c8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff) | |
| download | uClibc-alpine-af0172162f7c653cad6a11ed1c1a5459bc154465.tar.bz2 uClibc-alpine-af0172162f7c653cad6a11ed1c1a5459bc154465.tar.xz  | |
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/sysdeps/linux/powerpc/ioctl.c')
| -rw-r--r-- | libc/sysdeps/linux/powerpc/ioctl.c | 11 | 
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/powerpc/ioctl.c b/libc/sysdeps/linux/powerpc/ioctl.c index bb8842bb6..211bb3b25 100644 --- a/libc/sysdeps/linux/powerpc/ioctl.c +++ b/libc/sysdeps/linux/powerpc/ioctl.c @@ -16,15 +16,15 @@     Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA     02111-1307 USA.  */ -#define tcsetattr __tcsetattr -#define tcgetattr __tcgetattr -  #include <stdarg.h>  #include <termios.h>  #include <unistd.h>  #include <sys/ioctl.h>  #include <sys/syscall.h> +libc_hidden_proto(tcsetattr) +libc_hidden_proto(tcgetattr) +  /* The user-visible size of struct termios has changed.  Catch ioctl calls     using the new-style struct termios, and translate them to old-style.  */ @@ -33,7 +33,7 @@ static inline  _syscall3(int, __syscall_ioctl, int, fd, unsigned long int, request, void *, arg); -int attribute_hidden __ioctl (int fd, unsigned long int request, ...) +int ioctl (int fd, unsigned long int request, ...)  {      void *arg;      va_list ap; @@ -69,4 +69,5 @@ int attribute_hidden __ioctl (int fd, unsigned long int request, ...)      return result;  } -strong_alias(__ioctl,ioctl) +libc_hidden_proto(ioctl) +libc_hidden_def(ioctl)  | 
