--- rxvt-unicode/src/table/jis0201_1976_0.h 2004/03/15 00:27:13 1.3 +++ rxvt-unicode/src/table/jis0201_1976_0.h 2004/08/04 03:29:29 1.4 @@ -4,18 +4,17 @@ #ifdef ENCODING_JP -struct rxvt_codeset_conv_jis0201_1976_0 : rxvt_codeset_conv { - uint32_t from_unicode (unicode_t unicode) const { +static uint32_t cs_jis0201_1976_0_from_unicode (unicode_t unicode) { if (unicode <= 0x007d) return unicode; if (0x007f <= unicode && unicode <= 0x009f) return unicode; if (unicode == 0x203e) return 0x007e; if (unicode <= 0xff61 && 0xff9f <= unicode) return unicode - 0xfec0; return NOCHAR; - } -} rxvt_codeset_conv_jis0201_1976_0; +} #else -#define rxvt_codeset_conv_jis0201_1976_0 rxvt_codeset_conv_unknown +#define cs_jis0201_1976_0_from_unicode cs_unknown_from_unicode +#define cs_jis0201_1976_0_to_unicode cs_unknown_to_unicode #endif