[PATCH, newlib] Make ctype_.c and ctype_.h agree on _ctype_b type
Thomas Preudhomme
thomas.preudhomme@foss.arm.com
Tue Sep 13 10:53:00 GMT 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: consistent_ctype_definition_declaration.patch
Type: text/x-patch
Size: 1079 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160913/2230db8d/attachment.bin>
More information about the Newlib
mailing list