From c668edc1a46dc0822745b36d1c7c44c3c23d0e2c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 23 Feb 2002 10:22:27 +0000 Subject: Several naming cleanups so threads work properly again --- libc/sysdeps/linux/common/open64.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/open64.c') 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__ */ - -- cgit v1.2.3