diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-05-05 17:18:20 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-05-05 17:18:20 +0200 |
commit | 761cc9917db140d5e0aefe8776b091b4f56a3389 (patch) | |
tree | c5074b6b2a61e6514cf97540ab5a7d34ec888aa4 /FICS | |
parent | 770101f1dfa149c7ad505ba526603ac11aa61108 (diff) |
Fixed the function declarations
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/movecheck.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/FICS/movecheck.h b/FICS/movecheck.h index 53a1712..ca7cae1 100644 --- a/FICS/movecheck.h +++ b/FICS/movecheck.h @@ -46,16 +46,15 @@ #include "board.h" #endif -extern int is_move(char *); -extern int parse_move(char *, game_state_t *, move_t *, int); -extern int execute_move(game_state_t *, move_t *, int); -extern int backup_move(int, int); - -/* Some useful chess utilities */ -extern int NextPieceLoop(board_t, int *, int *, int); -extern int InitPieceLoop(board_t, int *, int *, int); -extern int legal_move(game_state_t *, int, int, int, int); -extern int legal_andcheck_move(game_state_t *, int, int, int, int); -extern int in_check(game_state_t *); +extern int InitPieceLoop(board_t, int *, int *, int); +extern int NextPieceLoop(board_t, int *, int *, int); + +extern int backup_move(int, int); +extern int execute_move(game_state_t *, move_t *, int); +extern int in_check(game_state_t *); +extern int is_move(char *); +extern int legal_andcheck_move(game_state_t *, int, int, int, int); +extern int legal_move(game_state_t *, int, int, int, int); +extern int parse_move(char *, game_state_t *, move_t *, int); #endif /* _MOVECHECK_H */ |