summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-09-17 02:46:17 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-09-17 02:46:17 +0800
commitcaddbcd9c4cf54cc685c43b5d7d05f748532f422 (patch)
tree12ed61b7324d1d615e643cdd27629ab96c76adc6
parent772c97ab76a8efc28e61b98ba1d1c099092441b8 (diff)
downloadpttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.tar
pttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.tar.gz
pttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.tar.bz2
pttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.tar.lz
pttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.tar.xz
pttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.tar.zst
pttbbs-caddbcd9c4cf54cc685c43b5d7d05f748532f422.zip
Don't include telopts[],telcmds[] symbols if not debugging.
These symbols is inside data section on linux. Saved about 500 bytes. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3419 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 1e3f16fd..4ef29a8b 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,6 +1,8 @@
/* $Id$ */
+#ifdef DEBUG
#define TELOPTS
#define TELCMDS
+#endif
#include "bbs.h"
#include "banip.h"