mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 05:50:14 +00:00
855efb5f6f
2002-08-04 Jakub Jelinek <jakub@redhat.com> * 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.
15 lines
428 B
C
15 lines
428 B
C
/* We have to irritate the compiler a bit. */
|
|
#define __strtoull_internal __strtoull_internal_XXX
|
|
#define strtoull strtoull_XXX
|
|
#define strtouq strtouq_XXX
|
|
|
|
#include <sysdeps/generic/strtoul.c>
|
|
|
|
#undef __strtoull_internal
|
|
#undef strtoull
|
|
#undef strtouq
|
|
strong_alias (__strtoul_internal, __strtoull_internal)
|
|
libc_hidden_ver (__strtoul_internal, __strtoull_internal)
|
|
weak_alias (strtoul, strtoull)
|
|
weak_alias (strtoul, strtouq)
|