Fixed signature of ttt_board_make_move to fit protocol with errors
authorKevin Worth <kevin@theworths.org>
Tue, 13 Dec 2005 00:29:39 +0000 (00:29 +0000)
committerKevin Worth <kevin@theworths.org>
Tue, 13 Dec 2005 00:29:39 +0000 (00:29 +0000)
src/ttt-board.c
src/ttt-board.h

index f7a425eeb1ed813e8ad56e30cab35ab50af632ac..dabbdabe4856c4567f458b7fc538e5f8eb8ed402 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 #include "ttt-board.h"
+#include "ttt-error.h"
 
 /* Initialize an empty board. */
 void
index c240ef3398d8fefae891f01ec6bb376bc5054eff..281db32ce1bd4f96294d47d72237f15f13ec818c 100644 (file)
@@ -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
 
+