X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Firi.h;h=e759e456329837c5a85392f8003b97c7c2117d26;hp=49b25d3bb39b3b37e36cce4c49e4a01dc2873010;hb=HEAD;hpb=2f6aa1d7417df1dfc58597777686fbd77179b9fd diff --git a/src/iri.h b/src/iri.h index 49b25d3b..e759e456 100644 --- a/src/iri.h +++ b/src/iri.h @@ -54,9 +54,9 @@ void set_content_encoding (struct iri *i, char *charset); #else /* ENABLE_IRI */ -static struct iri dummy_iri; +extern struct iri dummy_iri; -#define parse_charset(str) NULL +#define parse_charset(str) (str, NULL) #define find_locale() NULL #define check_encoding_name(str) false #define locale_to_utf8(str) (str)