diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-17 13:29:54 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-17 13:29:54 +0800 |
commit | ec83dad7483d03bf87e182da7f3e594cf5c9c77a (patch) | |
tree | 2ed9181644bb811c66873779be1e98f2e22952de /mbbsd | |
parent | 7c7adbd6aefd1498cd84ee947c52269ce099d347 (diff) | |
download | pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.tar pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.tar.gz pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.tar.bz2 pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.tar.lz pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.tar.xz pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.tar.zst pttbbs-ec83dad7483d03bf87e182da7f3e594cf5c9c77a.zip |
Remove unused global variable and add const-ness in var.c
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/var.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/var.c b/mbbsd/var.c index 83ea9924..e0e5eccc 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -409,8 +409,7 @@ char msg_occupied = 0; /* gomo.c */ const char * const bw_chess[] = {"¡³", "¡´"}; -unsigned char *pat, *adv; -unsigned char * const pat_gomoku /* [1954] */ = +const unsigned char * const pat_gomoku /* [1954] */ = /* 0 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" /* 16 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x44\x55\xcc\x00\x00\x00\x00" /* 32 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x33\x00\x44\x00\x33\x00\x00\x00" @@ -535,7 +534,7 @@ unsigned char * const pat_gomoku /* [1954] */ = /* 1936 */ "\x5a\xcc\x05\x05\x05\x05\x05\x05\x05\x06\x05\x05\x05\x0a\x05\x0a" /* 1952 */ "\x0a"; -unsigned char * const adv_gomoku /* [978] */ = +const unsigned char * const adv_gomoku /* [978] */ = /* 0 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" /* 16 */ "\x00\x00\x00\x00\xa0\x00\xa0\x00\x04\x00\x04\x00\x00\xd0\x00\xd0" /* 32 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" |