blob: da0837c6e408a4a7722398df4623bf6de837ea32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <skalibs/bytestr.h>
void case_uppers (char *s)
{
unsigned char const d = 'a' - 'A' ;
while (*s)
{
if (('a' <= *s) && (*s <= 'z')) *s -= d ;
++s ;
}
}
|