summaryrefslogtreecommitdiffstats
path: root/tdehtml/css/cssvalues.c
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/css/cssvalues.c')
-rw-r--r--tdehtml/css/cssvalues.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdehtml/css/cssvalues.c b/tdehtml/css/cssvalues.c
index 2bd3746ec..9114aa513 100644
--- a/tdehtml/css/cssvalues.c
+++ b/tdehtml/css/cssvalues.c
@@ -39,7 +39,7 @@ struct css_value {
int id;
};
-static const css_value* findValue (register const char *str, register unsigned int len);
+static const css_value* findValue (register const char *str, unsigned int len);
/* maximum key range = 2876, duplicates = 0 */
#ifdef __GNUC__
@@ -50,7 +50,7 @@ inline
#endif
#endif
static unsigned int
-hash_val (register const char *str, register unsigned int len)
+hash_val (register const char *str, unsigned int len)
{
static const unsigned short asso_values[] =
{
@@ -81,7 +81,7 @@ hash_val (register const char *str, register unsigned int len)
2876, 2876, 2876, 2876, 2876, 2876, 2876, 2876, 2876, 2876,
2876, 2876, 2876, 2876, 2876, 2876, 2876
};
- register int hval = 0;
+ int hval = 0;
switch (len)
{
@@ -177,7 +177,7 @@ hash_val (register const char *str, register unsigned int len)
__inline
#endif
const struct css_value *
-findValue (register const char *str, register unsigned int len)
+findValue (register const char *str, unsigned int len)
{
enum
{
@@ -1036,15 +1036,15 @@ findValue (register const char *str, register unsigned int len)
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{
- register int key = hash_val (str, len);
+ int key = hash_val (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_value[index].name;
+ const char *s = wordlist_value[index].name;
if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
return &wordlist_value[index];