diff options
Diffstat (limited to 'sysdeps/unix/sysv/aix/open.c')
-rw-r--r-- | sysdeps/unix/sysv/aix/open.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/aix/open.c b/sysdeps/unix/sysv/aix/open.c index c41c708564..2b42f8e81b 100644 --- a/sysdeps/unix/sysv/aix/open.c +++ b/sysdeps/unix/sysv/aix/open.c @@ -20,9 +20,6 @@ #include <stdarg.h> #include <unistd.h> -#undef __libc_open -#undef __open - int __open (const char *file, int oflag, ...) { @@ -38,5 +35,6 @@ __open (const char *file, int oflag, ...) return open (file, oflag, mode); } +libc_hidden_def (__open) strong_alias (__open, __libc_open) -INTDEF(__open) +libc_hidden_def (__libc_open) |