dtinfo: remove register keyword
This commit is contained in:
@@ -45,10 +45,10 @@ using namespace std;
|
||||
*/
|
||||
|
||||
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;
|
||||
@@ -63,11 +63,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;
|
||||
|
||||
Reference in New Issue
Block a user