/***************************************************************** * @LICENSE@ *****************************************************************/ /* sre_ctype.c * * For portability. Some systems have functions tolower, toupper * as macros (for instance, MIPS M-2000 RISC/os!) * * CVS $Id: sre_ctype.c,v 1.4 2003/04/14 16:00:16 eddy Exp $ */ #include "squidconf.h" #include #include "squid.h" int sre_tolower(int c) { if (isupper(c)) return tolower(c); else return c; } int sre_toupper(int c) { if (islower(c)) return toupper(c); else return c; }