X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fttt-board.h;fp=src%2Fttt-board.h;h=281db32ce1bd4f96294d47d72237f15f13ec818c;hp=c240ef3398d8fefae891f01ec6bb376bc5054eff;hb=f4c1cfa38a61462efccf86ba37311b44dca3f1cc;hpb=122d6b8810d67c601fe260e25ec323bb001698af diff --git a/src/ttt-board.h b/src/ttt-board.h index c240ef3..281db32 100644 --- a/src/ttt-board.h +++ b/src/ttt-board.h @@ -23,6 +23,7 @@ #define _TTT_BOARD_H_ #include "ttt.h" +#include "ttt-error.h" #define TTT_BOARD_MAX_CELLS 9 @@ -49,9 +50,9 @@ ttt_board_to_string (ttt_board_t *board); void ttt_board_write (ttt_board_t *board, FILE *file); -int +ttt_error_t ttt_board_make_move (ttt_board_t *board, int move); - #endif +