From 8f91cbd2d681b9061b8ede056ddea5dd46090088 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 24 May 2010 12:12:41 +0200 Subject: [PATCH] Remove definition of unused symbols. --- src/ChangeLog | 6 ++++++ src/css-tokens.h | 2 +- src/iri.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 07411a2a..edbd3493 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2010-05-24 Giuseppe Scrivano + + * iri.h (dummy_iri): Define static. + + * css-tokens.h (css_tokens): Remove variable. + 2010-05-23 Giuseppe Scrivano * http.c (http_atotm): Count the NUL character when copying the locale diff --git a/src/css-tokens.h b/src/css-tokens.h index ece9fcc7..8f01a8f6 100644 --- a/src/css-tokens.h +++ b/src/css-tokens.h @@ -61,6 +61,6 @@ enum { NUMBER, URI, FUNCTION -} css_tokens; +}; #endif /* CSS_TOKENS_H */ diff --git a/src/iri.h b/src/iri.h index 1d2fe645..baef5737 100644 --- a/src/iri.h +++ b/src/iri.h @@ -54,7 +54,7 @@ void set_content_encoding (struct iri *i, char *charset); #else /* ENABLE_IRI */ -struct iri dummy_iri; +static struct iri dummy_iri; #define parse_charset(str) NULL #define find_locale() NULL -- 2.39.2