lib/csa: remove register keyword

This commit is contained in:
Jon Trulson
2018-06-27 15:24:08 -06:00
parent 3b1316112a
commit 02c70c739d
4 changed files with 57 additions and 57 deletions

View File

@@ -41,10 +41,10 @@
*/
int
strcasecmp(register const char *s1,
register const char *s2)
strcasecmp(const char *s1,
const char *s2)
{
register int c1, c2;
int c1, c2;
while (*s1 && *s2) {
c1 = isupper(*s1) ? tolower(*s1) : *s1;
@@ -59,11 +59,11 @@ strcasecmp(register const char *s1,
int
strncasecmp(register const char *s1,
register const char *s2,
register size_t count)
strncasecmp(const char *s1,
const char *s2,
size_t count)
{
register int c1, c2;
int c1, c2;
if (!count)
return 0;