X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Firi.h;h=49b25d3bb39b3b37e36cce4c49e4a01dc2873010;hp=fe3da15cf416bd6a104e84d855e0e261de9b960d;hb=2f6aa1d7417df1dfc58597777686fbd77179b9fd;hpb=a9da78c6d8f9e2699107fcde81efeb607dde1cca diff --git a/src/iri.h b/src/iri.h index fe3da15c..49b25d3b 100644 --- a/src/iri.h +++ b/src/iri.h @@ -1,5 +1,5 @@ /* Internationalization related declarations. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -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 @@ -64,6 +64,7 @@ struct iri dummy_iri; #define idn_decode(str) NULL #define remote_to_utf8(a,b,c) false #define iri_new() (&dummy_iri) +#define iri_dup(a) (&dummy_iri) #define iri_free(a) #define set_uri_encoding(a,b,c) #define set_content_encoding(a,b)