--- a/src/chess/bishop.h Tue Sep 08 13:55:48 2026 +0200 +++ b/src/chess/bishop.h Tue Sep 08 14:34:48 2026 +0200 @@ -28,11 +28,11 @@ */ #ifndef BISHOP_H -#define BISHOP_H +#define BISHOP_H #include "rules.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -45,9 +45,9 @@ #define bishop_moves_allowed(gamestate, color, file, rank, moves) \ filter_moves_allowed(gamestate, color, file, rank, moves, bishop_moves) -#ifdef __cplusplus +#ifdef __cplusplus } #endif -#endif /* BISHOP_H */ +#endif /* BISHOP_H */