summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-24 14:56:26 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-24 14:56:26 +0800
commit16ad45f155f3569e4582983dd1a17eae8fcedc59 (patch)
tree97d43721149bd0c30a7fa0a25683369afadf0534
parenteeab1324eeecd81d743be925ff07e66bb792908e (diff)
downloadpttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.tar
pttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.tar.gz
pttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.tar.bz2
pttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.tar.lz
pttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.tar.xz
pttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.tar.zst
pttbbs-16ad45f155f3569e4582983dd1a17eae8fcedc59.zip
compatible to gcc 2.95
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/bbsmail.c4
1 files changed, 3 insertions, 1 deletions
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;