[PATCH, newlib, ping] Make ctype_.c and ctype_.h agree on _ctype_b type

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Tue Sep 20 17:58:00 GMT 2016


Best regards,


On 13/09/16 11:52, Thomas Preudhomme wrote:
> Hi,
> _ctype_b is defined in ctype_.c as a const char array for non cygwin targets
> allowing negative ctype index but as a char array for the same
> targets in ctype_.h, giving type conflict at compile time.  This is because the
> cygwin targets are not treated specially in the latter file.
> This patch adds the necessary logic for cygwin targets in ctype_.h.
> Is this ok for master branch?
> Best regards,
> Thomas

More information about the Newlib mailing list