Use TOUPPER macro.

This commit is contained in:
Kurt Zeilenga 1998-11-05 22:08:43 +00:00
parent 8777f818dc
commit 24a6a91cac

View File

@ -847,8 +847,6 @@ char *s )
char *p;
for ( p = s; ( p != NULL ) && ( *p != '\0' ); p++ ) {
if ( islower( (unsigned char) *p )) {
*p = toupper( (unsigned char) *p );
}
*p = TOUPPER( (unsigned char) *p );
}
}