dtmail: remove register keyword
This commit is contained in:
@@ -42,10 +42,10 @@
|
||||
|
||||
extern "C"
|
||||
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;
|
||||
@@ -61,11 +61,11 @@ strcasecmp(register const char *s1,
|
||||
|
||||
extern "C"
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user