aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-03-17 22:41:53 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-03-17 22:41:53 +0100
commitf1f07bd24f4133d48934b3be571106bf35788a0a (patch)
tree990e3c6e90ace76aee3314152c13a611fee6a583
parent1674648c1d85420449a5e83ee818d46b3c6a9294 (diff)
Sorted the function declarations
-rw-r--r--FICS/movecheck.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/FICS/movecheck.h b/FICS/movecheck.h
index f1a22ac..63dcae3 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 */