--- a/src/chess/knight.h Tue Aug 25 18:59:18 2026 +0200 +++ b/src/chess/knight.h Tue Aug 25 19:42:15 2026 +0200 @@ -41,9 +41,9 @@ #define KNIGHT_MOVES_MAX 8 size_t knight_moves(const GameState *gamestate, - Color c, Rank r, File f, Move *moves); -#define knight_moves_allowed(gamestate, color, rank, file, moves) \ - filter_moves_allowed(gamestate, color, rank, file, moves, knight_moves) + Color c, File f, Rank r, Move *moves); +#define knight_moves_allowed(gamestate, color, file, rank, moves) \ + filter_moves_allowed(gamestate, color, file, rank, moves, knight_moves) #ifdef __cplusplus }