From 16ad45f155f3569e4582983dd1a17eae8fcedc59 Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 24 Feb 2004 06:56:26 +0000 Subject: compatible to gcc 2.95 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/bbsmail.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util/bbsmail.c') diff --git a/util/bbsmail.c b/util/bbsmail.c index 7e0ceb69..a58d5763 100644 --- a/util/bbsmail.c +++ b/util/bbsmail.c @@ -72,6 +72,9 @@ mailog(msg) } } +#ifdef USE_ICONV +void str_decode_M3(unsigned char *str); +#endif int mail2bbs(char *userid) { @@ -113,7 +116,6 @@ int mail2bbs(char *userid) if( strncmp(genbuf, "Subject: ", 9) == 0 ){ strlcpy(title, genbuf + 9, sizeof(title)); #ifdef USE_ICONV - void str_decode_M3(unsigned char *str); str_decode_M3(title); #endif continue; -- cgit v1.2.3