structures forward declarations

This commit is contained in:
2021-11-04 13:06:24 +01:00
parent ad155b5a60
commit c7faa88bfa
6 changed files with 22 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
#include "board.h"
#include "list.h"
typedef struct position {
typedef struct pos_s {
piece_t turn; /* we use only color bit */
castle_t castle;
square_t en_passant;