summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-22 19:57:22 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-22 19:57:22 +0800
commit3d9e752bc118c8e8974e5522e6e5680ddfd50d88 (patch)
tree53c6e574f869fa7f66d5fc5df00ea65bd35b7ea9
parent83b3da32a80eb87eddae6c26c3e709f78e4a99eb (diff)
downloadpttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.tar
pttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.tar.gz
pttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.tar.bz2
pttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.tar.lz
pttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.tar.xz
pttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.tar.zst
pttbbs-3d9e752bc118c8e8974e5522e6e5680ddfd50d88.zip
* undef non-used code when CCW is enabled.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/chat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/chat.c b/pttbbs/mbbsd/chat.c
index 98356513..e25a5d95 100644
--- a/pttbbs/mbbsd/chat.c
+++ b/pttbbs/mbbsd/chat.c
@@ -4,6 +4,8 @@
#define CHAT_STOP_LINE (t_lines-3)
#define CHAT_INIT_LINE (2)
+#ifndef EXP_CCW_CHAT
+
///////////////////////////////////////////////////////////////////////////
// CHAT helpers
@@ -559,6 +561,8 @@ do_chat(int cfd)
return 0;
}
+#endif // !EXP_CCW_CHAT
+
int
t_chat(void)
{