about summary refs log tree commit diff
path: root/sysdeps/gnu/glob64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/glob64.c')
-rw-r--r--sysdeps/gnu/glob64.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/gnu/glob64.c b/sysdeps/gnu/glob64.c
index 52e97e2f6a..42b5b225ca 100644
--- a/sysdeps/gnu/glob64.c
+++ b/sysdeps/gnu/glob64.c
@@ -6,8 +6,7 @@
 #define __readdir(dirp) __readdir64 (dirp)
 
 #define glob_t glob64_t
-#define glob(pattern, flags, errfunc, pglob) \
-  glob64 (pattern, flags, errfunc, pglob)
+#define __glob __glob64
 #define globfree(pglob) globfree64 (pglob)
 
 #undef stat
@@ -19,4 +18,6 @@
 
 #include <posix/glob.c>
 
-libc_hidden_def (glob64)
+libc_hidden_def (__glob64)
+versioned_symbol (libc, __glob64, glob64, GLIBC_2_27);
+libc_hidden_ver (__glob64, glob64)