summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/open64.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-23 10:22:27 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-23 10:22:27 +0000
commitc668edc1a46dc0822745b36d1c7c44c3c23d0e2c (patch)
tree5d894954de6954eebdb5d36c88709b805731b80a /libc/sysdeps/linux/common/open64.c
parentcca9374b873b22590f8b273d5b6f9cc944e2c002 (diff)
Several naming cleanups so threads work properly again
Diffstat (limited to 'libc/sysdeps/linux/common/open64.c')
-rw-r--r--libc/sysdeps/linux/common/open64.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c
index 62deddcb4..e8b0baf50 100644
--- a/libc/sysdeps/linux/common/open64.c
+++ b/libc/sysdeps/linux/common/open64.c
@@ -29,7 +29,7 @@
/* Open FILE with access OFLAG. If OFLAG includes O_CREAT,
a third argument is the file protection. */
-int open64 (const char *file, int oflag, ...)
+int __libc_open64 (const char *file, int oflag, ...)
{
int mode = 0;
@@ -41,8 +41,7 @@ int open64 (const char *file, int oflag, ...)
va_end (arg);
}
- return open(file, oflag | O_LARGEFILE, mode);
+ return __libc_open(file, oflag | O_LARGEFILE, mode);
}
-
+weak_alias (__libc_open64, open64);
#endif /* __UCLIBC_HAVE_LFS__ */
-