X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funicodeio.c;h=a146569e47eaf41ded178751a5a85e62a4b813cc;hb=a76a349e949dfad5716eb3893052070b770e949f;hp=a698ca5df7d90209a3c44c7d0d698a9fc2a3e887;hpb=b3228efa69e85fafe07d15471a22ae9a5a905ac8;p=gnulib.git diff --git a/lib/unicodeio.c b/lib/unicodeio.c index a698ca5df..a146569e4 100644 --- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -51,6 +51,8 @@ extern int errno; #define _(msgid) gettext (msgid) #define N_(msgid) msgid +#include "localcharset.h" + /* When we pass a Unicode character to iconv(), we must pass it in a suitable encoding. The standardized Unicode encodings are UTF-8, UCS-2, UCS-4, UTF-16, UTF-16BE, UTF-16LE, UTF-7. @@ -127,7 +129,6 @@ unicode_to_mb (unsigned int code, if (!initialized) { - extern const char *locale_charset PARAMS ((void)); const char *charset = locale_charset (); is_utf8 = !strcmp (charset, UTF8_NAME);