diff options
Diffstat (limited to 'tdehtml/css/cssproperties.c')
-rw-r--r-- | tdehtml/css/cssproperties.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tdehtml/css/cssproperties.c b/tdehtml/css/cssproperties.c index bbaeb0d02..1f4ba882b 100644 --- a/tdehtml/css/cssproperties.c +++ b/tdehtml/css/cssproperties.c @@ -39,7 +39,7 @@ struct props { int id; }; -static const struct props * findProp (register const char *str, register unsigned int len); +static const struct props * findProp (register const char *str, unsigned int len); /* maximum key range = 469, duplicates = 0 */ #ifdef __GNUC__ @@ -50,7 +50,7 @@ inline #endif #endif static unsigned int -hash_prop (register const char *str, register unsigned int len) +hash_prop (register const char *str, unsigned int len) { static const unsigned short asso_values[] = { @@ -81,7 +81,7 @@ hash_prop (register const char *str, register unsigned int len) 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472 }; - register int hval = len; + int hval = len; switch (hval) { @@ -189,7 +189,7 @@ hash_prop (register const char *str, register unsigned int len) __inline #endif const struct props * -findProp (register const char *str, register unsigned int len) +findProp (register const char *str, unsigned int len) { enum { @@ -516,15 +516,15 @@ findProp (register const char *str, register unsigned int len) if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { - register int key = hash_prop (str, len); + int key = hash_prop (str, len); if (key <= MAX_HASH_VALUE && key >= 0) { - register int index = lookup[key]; + int index = lookup[key]; if (index >= 0) { - register const char *s = wordlist_prop[index].name; + const char *s = wordlist_prop[index].name; if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') return &wordlist_prop[index]; |