X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d6dcf6c6407692f1f138f6151e6b24681e103807..8fd3bdc4ee9fe7d3036a36b70affe273008024e2:/unicode.c diff --git a/unicode.c b/unicode.c index 60ea85d1..e8542211 100644 --- a/unicode.c +++ b/unicode.c @@ -1,4 +1,6 @@ +#ifdef WINDOWS #include +#endif #include #include @@ -8,8 +10,6 @@ #include "putty.h" #include "misc.h" -static void get_unitab(int codepage, wchar_t * unitab, int ftype); - /* Character conversion arrays; they are usually taken from windows, * the xterm one has the four scanlines that have no unicode 2.0 * equivalents mapped to their unicode 3.0 locations. @@ -1218,7 +1218,7 @@ char *cp_enumerate(int index) return cp_list[index].name; } -static void get_unitab(int codepage, wchar_t * unitab, int ftype) +void get_unitab(int codepage, wchar_t * unitab, int ftype) { char tbuf[4]; int i, max = 256, flg = MB_ERR_INVALID_CHARS;