diff -r e2519b3dd5e7 -r 93e0e89496fe src/chess/knight.h --- a/src/chess/knight.h Tue Sep 08 13:55:48 2026 +0200 +++ b/src/chess/knight.h Tue Sep 08 14:34:48 2026 +0200 @@ -28,11 +28,11 @@ */ #ifndef KNIGHT_H -#define KNIGHT_H +#define KNIGHT_H #include "rules.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -45,9 +45,9 @@ #define knight_moves_allowed(gamestate, color, file, rank, moves) \ filter_moves_allowed(gamestate, color, file, rank, moves, knight_moves) -#ifdef __cplusplus +#ifdef __cplusplus } #endif -#endif /* KNIGHT_H */ +#endif /* KNIGHT_H */