diff options
author | Joseph Myers <joseph@codesourcery.com> | 2020-12-08 18:15:27 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2020-12-08 18:15:27 +0000 |
commit | 224b419d1e750e3e9ced5c57774bb2bdd5292e28 (patch) | |
tree | 270809a5e89155afa1990475bcff36a5d7ae6f24 /sysdeps/wordsize-64/wcstol.c | |
parent | 4d3a77c73594c3704992f8d5b779c8be053cff35 (diff) | |
download | glibc-224b419d1e750e3e9ced5c57774bb2bdd5292e28.zip glibc-224b419d1e750e3e9ced5c57774bb2bdd5292e28.tar.gz glibc-224b419d1e750e3e9ced5c57774bb2bdd5292e28.tar.bz2 |
Make strtoimax, strtoumax, wcstoimax, wcstoumax into aliases
The functions strtoimax, strtoumax, wcstoimax, wcstoumax currently
have three implementations each (wordsize-32, wordsize-64 and dummy
implementation in stdlib/ using #error), defining the functions as
thin wrappers round corresponding *_internal functions. Simplify the
code by changing them into aliases of functions such as strtol and
wcstoull. This is more consistent with how e.g. imaxdiv is handled.
Tested for x86_64 and x86.
Diffstat (limited to 'sysdeps/wordsize-64/wcstol.c')
-rw-r--r-- | sysdeps/wordsize-64/wcstol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/wcstol.c b/sysdeps/wordsize-64/wcstol.c index b10895a..f99c273 100644 --- a/sysdeps/wordsize-64/wcstol.c +++ b/sysdeps/wordsize-64/wcstol.c @@ -12,3 +12,4 @@ strong_alias (__wcstol_internal, __wcstoll_internal) libc_hidden_ver (__wcstol_internal, __wcstoll_internal) weak_alias (wcstol, wcstoll) weak_alias (wcstol, wcstoq) +weak_alias (wcstol, wcstoimax) |