X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Firi.h;h=e759e456329837c5a85392f8003b97c7c2117d26;hp=ed776e1a34473d7e09b60e106394f65e13c46212;hb=HEAD;hpb=b9e9ad65ccf6c1fbf989852c5adbb0f840f9c58b diff --git a/src/iri.h b/src/iri.h index ed776e1a..e759e456 100644 --- a/src/iri.h +++ b/src/iri.h @@ -1,5 +1,5 @@ /* Internationalization related declarations. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -54,9 +54,9 @@ void set_content_encoding (struct iri *i, char *charset); #else /* ENABLE_IRI */ -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)