diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-04 04:48:54 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-04 04:48:54 +0800 |
commit | cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b (patch) | |
tree | 4dbd531777a74b9d4da86a2433db23795a79ac3e /mbbsd/vote.c | |
parent | 6458d8379fc2bf2262ecc55f753aab70ea8a0ac4 (diff) | |
download | pttbbs-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/vote.c')
-rw-r--r-- | mbbsd/vote.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 1f64ad1f..25341f00 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -3,13 +3,13 @@ #define MAX_VOTE_PAGE 5 -static char STR_bv_control[] = "control"; /* щ布ら戳 匡兜 */ -static char STR_bv_desc[] = "desc"; /* щ布ヘ */ -static char STR_bv_ballots[] = "ballots"; -static char STR_bv_flags[] = "flags"; -static char STR_bv_comments[] = "comments"; /* щ布某 */ -static char STR_bv_limited[] = "limited"; /* ╬щ布 */ -static char STR_bv_title[] = "vtitle"; +static char *STR_bv_control = "control"; /* щ布ら戳 匡兜 */ +static char *STR_bv_desc = "desc"; /* щ布ヘ */ +static char *STR_bv_ballots = "ballots"; +static char *STR_bv_flags = "flags"; +static char *STR_bv_comments = "comments"; /* щ布某 */ +static char *STR_bv_limited = "limited"; /* ╬щ布 */ +static char *STR_bv_title = "vtitle"; static char STR_bv_results[] = "results"; |