fix getc - the classic error of trying to store EOF+0-255 in a char type..
[musl] / src / ctype / toupper.c
1 #include <ctype.h>
2
3 int toupper(int c)
4 {
5         if (islower(c)) return c & 0x5f;
6         return c;
7 }