diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-03 07:38:18 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-03 07:38:18 +0800 |
commit | d3829ef075e6227a9a4b92ad707e7ad3b490aacd (patch) | |
tree | 836007e84dd95e68c9e337ae69659cf622120bf5 /mbbsd/dark.c | |
parent | 11cf3f25d98f02e3e02984b5e372159d9b6c555b (diff) | |
download | pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.gz pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.bz2 pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.lz pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.xz pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.zst pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.zip |
warning free: "static" should be in front of "const"
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/dark.c')
-rw-r--r-- | mbbsd/dark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/dark.c b/mbbsd/dark.c index e7d644cd..4aa36349 100644 --- a/mbbsd/dark.c +++ b/mbbsd/dark.c @@ -19,7 +19,7 @@ static cur curr; /* 6 個 bytes */ static char * const rname[] = {"兵", "炮", "傌", "車", "相", "仕", "帥"}; static char * const bname[] = {"卒", "包", "馬", "車", "象", "士", "將"}; -const static sint cury[] = {3, 5, 7, 9}, curx[] = {5, 9, 13, 17, 21, 25, 29, 33}; +static const sint cury[] = {3, 5, 7, 9}, curx[] = {5, 9, 13, 17, 21, 25, 29, 33}; static sint rcount, bcount, cont, fix; /* cont:是否可連吃 */ static sint my = 0, mx = 0, mly = -1, mlx = -1; /* 移動的座標 標 */ |