From 224b419d1e750e3e9ced5c57774bb2bdd5292e28 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 8 Dec 2020 18:15:27 +0000 Subject: 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. --- include/inttypes.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/inttypes.h b/include/inttypes.h index 3a583c6c07..9cb6636b13 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -1,6 +1,3 @@ #ifndef _INTTYPES_H #include -#ifndef _ISOMAC -libc_hidden_proto (strtoumax) -#endif #endif -- cgit v1.2.3