From f4c1cfa38a61462efccf86ba37311b44dca3f1cc Mon Sep 17 00:00:00 2001 From: Kevin Worth Date: Tue, 13 Dec 2005 00:29:39 +0000 Subject: [PATCH] Fixed signature of ttt_board_make_move to fit protocol with errors --- src/ttt-board.c | 1 + src/ttt-board.h | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ttt-board.c b/src/ttt-board.c index f7a425e..dabbdab 100644 --- a/src/ttt-board.c +++ b/src/ttt-board.c @@ -21,6 +21,7 @@ #include #include "ttt-board.h" +#include "ttt-error.h" /* Initialize an empty board. */ void 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 + -- 2.43.0