diff options
Diffstat (limited to 'tdehtml/misc/htmltags.c')
-rw-r--r-- | tdehtml/misc/htmltags.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdehtml/misc/htmltags.c b/tdehtml/misc/htmltags.c index 1342e62bf..be6fade5f 100644 --- a/tdehtml/misc/htmltags.c +++ b/tdehtml/misc/htmltags.c @@ -48,7 +48,7 @@ inline #endif #endif static unsigned int -hash_tag (register const char *str, register unsigned int len) +hash_tag (register const char *str, unsigned int len) { static const unsigned short asso_values[] = { @@ -79,7 +79,7 @@ hash_tag (register const char *str, register unsigned int len) 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346 }; - register int hval = len; + int hval = len; switch (hval) { @@ -338,7 +338,7 @@ static const struct spool_Tag_t spool_Tag_contents = __inline #endif const struct tags * -findTag (register const char *str, register unsigned int len) +findTag (register const char *str, unsigned int len) { enum { @@ -615,17 +615,17 @@ findTag (register const char *str, register unsigned int len) if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { - register int key = hash_tag (str, len); + int key = hash_tag (str, len); if (key <= MAX_HASH_VALUE && key >= 0) { - register int index = lookup[key]; + int index = lookup[key]; if (index >= 0) { if (len == lengthtable[index]) { - register const char *s = wordlist_tag[index].name + spool_Tag; + const char *s = wordlist_tag[index].name + spool_Tag; if (*str == *s && !memcmp (str + 1, s + 1, len - 1)) return &wordlist_tag[index]; |