aboutsummaryrefslogtreecommitdiff
path: root/posix/glob64.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/glob64.c')
-rw-r--r--posix/glob64.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/posix/glob64.c b/posix/glob64.c
index 6285a22fa8..d3f2afe90c 100644
--- a/posix/glob64.c
+++ b/posix/glob64.c
@@ -34,8 +34,8 @@
Otherwise, `glob' returns zero. */
int
GLOB_ATTRIBUTE
-glob64 (const char *pattern, int flags,
- int (*errfunc) (const char *, int), glob64_t *pglob)
+__glob64 (const char *pattern, int flags,
+ int (*errfunc) (const char *, int), glob64_t *pglob)
{
if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
{
@@ -46,6 +46,8 @@ glob64 (const char *pattern, int flags,
__set_errno (ENOSYS);
return GLOB_NOSYS;
}
-libc_hidden_def (glob64)
+libc_hidden_def (__glob64)
+weak_alias (__glob64, glob64)
+libc_hidden_weak (glob64)
stub_warning (glob64)