This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 07/19/2017 08:28 AM, Corinna Vinschen wrote:
What you really want is to define a static function which takes the reent pointer and strtoimax_l/strtoimax only calling that, like this: --- snip --- static intmax_t _strtoimax_r(struct _reent *rptr, const char * __restrict nptr, char ** __restrict endptr, int base, locale_t loc)
Corinna:Why static? In general, the reentrant forms are included in the header files so that they can be called directly if an application so desires.
Craig
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |