OSDN Git Service

Allow gcc warning for toupper even with extended charsets.
authorericb <ericb>
Thu, 30 Apr 2009 22:53:00 +0000 (22:53 +0000)
committerericb <ericb>
Thu, 30 Apr 2009 22:53:00 +0000 (22:53 +0000)
commita3cc240c2abef8569289589e9b8fc3d973376f30
tree7bed57168dd272f5c0343ad7e2c33b4d179dd26b
parentfde4475373df27498dd2a15184703658d9527e74
Allow gcc warning for toupper even with extended charsets.

* libc/include/ctype.h (toupper, tolower)
[_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with
'char' even when we must call the function for correct behavior.
[!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.
newlib/ChangeLog
newlib/libc/include/ctype.h