diff options
Diffstat (limited to 'mbbsd/chess.c')
-rw-r--r-- | mbbsd/chess.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c index 3e578a20..03475926 100644 --- a/mbbsd/chess.c +++ b/mbbsd/chess.c @@ -48,11 +48,13 @@ static const char * const ChessHintStr[] = { "Enter ¿ï¾Ü/²¾°Ê" }; -static const struct { +struct ChessReplayMap_t { const char* name; int name_len; ChessInfo* (*func)(FILE* fp); -} ChessReplayMap[] = { +}; + +static const struct ChessReplayMap_t ChessReplayMap[] = { { "gomoku", 6, &gomoku_replay }, { "chc", 3, &chc_replay }, { "go", 2, &gochess_replay }, |