* Markus Kuhn -- 2001-01-12 -- public domain
*/
-#include <wchar.h>
+#include <stddef.h>
+
+#include "putty.h"
struct interval {
unsigned short first;
return width;
}
-
/*
* The following function is the same as wcwidth(), except that
* spacing characters in the East Asian Ambiguous (A) category as
* encodings who want to migrate to UCS. It is not otherwise
* recommended for general use.
*/
-static int wcwidth_cjk(wchar_t ucs)
+int wcwidth_cjk(wchar_t ucs)
{
/* sorted list of non-overlapping intervals of East Asian Ambiguous
* characters */