I am attaching the patch for inttypes methods after modification. I am requesting you to please review the same. Regards, Aditya On Wed, Jul 19, 2017 at 9:14 PM, Corinna Vinschen wrote: > On Jul 19 10:13, Craig Howland wrote: >> 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. > > Good point. Yes, the function should better be non-static and added > to inttypes.h as well (unconditionally). > > > Corinna > > -- > Corinna Vinschen > Cygwin Maintainer > Red Hat