summaryrefslogtreecommitdiff
path: root/src/ctype/isupper.c
blob: f09d88c57c34a7ae22d57d761463ad506298002d (plain) (blame)
1
2
3
4
5
6
7
#include <ctype.h>
#undef isupper

int isupper(int c)
{
	return (unsigned)c-'A' < 26;
}