diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-27 14:41:18 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-12-09 20:08:51 +0100 |
commit | 23d529bfbe118a52dfc6941bd4b737a688a8ee8b (patch) | |
tree | 10ab88fa8003cc265814ce13c0b10c159b6c80b5 /include | |
parent | 8920867dc606acb422def62f69ffc78aac6a12c8 (diff) | |
download | uClibc-alpine-23d529bfbe118a52dfc6941bd4b737a688a8ee8b.tar.bz2 uClibc-alpine-23d529bfbe118a52dfc6941bd4b737a688a8ee8b.tar.xz |
add hidden aliases for openat funcs
openat64() uses openat(), so we need hidden aliases for it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit fc0cc43885c69b3029d5783f3ce65ff53f8defe5)
Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fcntl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index 084ee8c2c..7ce3150a4 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -119,6 +119,7 @@ extern int open64 (__const char *__file, int __oflag, ...) __nonnull ((1)); # ifndef __USE_FILE_OFFSET64 extern int openat (int __fd, __const char *__file, int __oflag, ...) __nonnull ((2)); +libc_hidden_proto(openat) # else # ifdef __REDIRECT extern int __REDIRECT (openat, (int __fd, __const char *__file, int __oflag, @@ -130,6 +131,7 @@ extern int __REDIRECT (openat, (int __fd, __const char *__file, int __oflag, extern int openat64 (int __fd, __const char *__file, int __oflag, ...) __nonnull ((2)); +libc_hidden_proto(openat64) #endif /* Create and open FILE, with mode MODE. This takes an `int' MODE |