diff options
Diffstat (limited to 'mbbsd/convert.c')
-rw-r--r-- | mbbsd/convert.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c index e5d0f07b..611e54ac 100644 --- a/mbbsd/convert.c +++ b/mbbsd/convert.c @@ -3,6 +3,13 @@ #ifdef CONVERT +#ifdef CONVERT +extern void big2gb_init(void*); +extern void gb2big_init(void*); +extern void big2uni_init(void*); +extern void uni2big_init(void*); +#endif + extern unsigned char *gb2big(unsigned char *, int *, int); extern unsigned char *big2gb(unsigned char *, int *, int); extern unsigned char *utf8_uni(unsigned char *, int *, int); @@ -120,4 +127,12 @@ void set_converting_type(int which) // bbs_convert_type = which; } +void init_convert() +{ + big2gb_init(NULL); + gb2big_init(NULL); + big2uni_init(NULL); + uni2big_init(NULL); +} + #endif |