From 855efb5f6ff9bef07b6faee4294e65517c5f7866 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Aug 2002 00:43:00 +0000 Subject: Update. 2002-08-04 Jakub Jelinek * sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def if glob resp. globfree are not macros. * sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def. * sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64): Add libc_hidden_ver. * sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add libc_hidden_def. * sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver instead of libc_hidden_weak. * sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use libc_hidden_ver instead of libc_hidden_def. * sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use libc_hidden_ver instead of libc_hidden_def. (wcstoll, wcstoq): Remove libc_hidden_weak. * sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add libc_hidden_ver. * sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add libc_hidden_ver. * sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add libc_hidden_ver. * sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add libc_hidden_ver. --- sysdeps/generic/glob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/generic/glob.c') diff --git a/sysdeps/generic/glob.c b/sysdeps/generic/glob.c index aca6e898a1..ce9c3d806f 100644 --- a/sysdeps/generic/glob.c +++ b/sysdeps/generic/glob.c @@ -1064,7 +1064,7 @@ glob (pattern, flags, errfunc, pglob) return 0; } -#ifdef _LIBC +#if defined _LIBC && !defined glob libc_hidden_def (glob) #endif @@ -1085,7 +1085,7 @@ globfree (pglob) free ((__ptr_t) pglob->gl_pathv); } } -#ifdef _LIBC +#if defined _LIBC && !defined globfree libc_hidden_def (globfree) #endif -- cgit 1.4.1