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 Dec 16 09:23, Jon Beniston wrote: > Hi, > > Here's itoa with double underscore and macros. > > Cheers, > Jon > > 2014-12-07 Jon Beniston <jon@beniston.com> > > * libc/include/stdlib.h (__itoa): Declare prototype. > (__utoa): Declare prototype. > (itoa): Define macro. > (utoa): Define macro. > * libc/stdlib/Makefile.am: Add itoa.c and utoa.c. > * libc/stdlib/itoa.c: New file. > * libc/stdlib/utoa.c: New file. > Thanks. I applied the patch with a few changes. On second thought, itoa and utoa should be functions as well, just not declared if strict ANSI is required. I tweaked your patch accordingly, so __itoa and __utoa are always declared, itoa and utoa only if !__STRICT_ANSI__. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
pgpXZngMnDQxa.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |