summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 04:48:54 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 04:48:54 +0800
commitcfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b (patch)
tree4dbd531777a74b9d4da86a2433db23795a79ac3e /mbbsd/io.c
parent6458d8379fc2bf2262ecc55f753aab70ea8a0ac4 (diff)
downloadpttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.tar
pttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.tar.gz
pttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.tar.bz2
pttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.tar.lz
pttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.tar.xz
pttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.tar.zst
pttbbs-cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b.zip
use 'const' keyword to reduce 7904 bytes data segment
from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index c672e895..584faa29 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -411,7 +411,7 @@ int
strip_ansi(char *buf, char *str, int mode)
{
register int count = 0;
- static char EscapeFlag[] = {
+ const static char EscapeFlag[] = {
/* 0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 10 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0, 0, 0, 0,
/* 20 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,