From ec83dad7483d03bf87e182da7f3e594cf5c9c77a Mon Sep 17 00:00:00 2001 From: scw Date: Wed, 17 Aug 2005 05:29:54 +0000 Subject: 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 --- mbbsd/var.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mbbsd/var.c') 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" -- cgit v1.2.3