diff options
Diffstat (limited to 'libc/sysdeps/linux/common/open64.c')
-rw-r--r-- | libc/sysdeps/linux/common/open64.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c index 2d8a3c692..7a68b4cd9 100644 --- a/libc/sysdeps/linux/common/open64.c +++ b/libc/sysdeps/linux/common/open64.c @@ -18,14 +18,9 @@ # define O_LARGEFILE 0100000 #endif -extern __typeof(open64) __libc_open64; -extern __typeof(open) __libc_open; -libc_hidden_proto(__libc_open) - /* Open FILE with access OFLAG. If OFLAG includes O_CREAT, a third argument is the file protection. */ -libc_hidden_proto(__libc_open64) -int __libc_open64 (const char *file, int oflag, ...) +int open64 (const char *file, int oflag, ...) { mode_t mode = 0; @@ -52,9 +47,6 @@ int __libc_open64 (const char *file, int oflag, ...) return __libc_open(file, oflag | O_LARGEFILE, mode); #endif } -libc_hidden_def(__libc_open64) +libc_hidden_def(open64) -/* libc_hidden_proto(open64) */ -weak_alias(__libc_open64,open64) -libc_hidden_weak(open64) #endif /* __UCLIBC_HAS_LFS__ */ |