summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-28 16:16:25 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-28 16:16:25 +0800
commitfcc1d26b5caa091185e7238434d06dc00230dd67 (patch)
tree7c97005f364bd1bd479d610654cb1e177bcc7e3f /mbbsd
parent94ee5b0f546ecdb6558a4d24028c728997c175e2 (diff)
downloadpttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.tar
pttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.tar.gz
pttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.tar.bz2
pttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.tar.lz
pttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.tar.xz
pttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.tar.zst
pttbbs-fcc1d26b5caa091185e7238434d06dc00230dd67.zip
missing include
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1381 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/convert.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c
index 6e620e23..133c249d 100644
--- a/mbbsd/convert.c
+++ b/mbbsd/convert.c
@@ -1,4 +1,5 @@
/* $Id: convert.c 1374 2003-11-27 14:11:40Z victor $ */
+#include "bbs.h"
/*
* The following code is copied and modified from "autoconvert" with GPL.
*/
@@ -55,7 +56,7 @@ static void b2g(char *s)
s[0] = BtoG_bad1; s[1] = BtoG_bad2;
}
-signed char *gb2big(unsigned char *s, int plen)
+unsigned char *gb2big(unsigned char *s, int plen)
{
unsigned char c = 0;
return hzconvert(s, &plen, &c, g2b);