From: Kevin Worth <kevin@theworths.org>
Date: Tue, 13 Dec 2005 00:29:39 +0000 (+0000)
Subject: Fixed signature of ttt_board_make_move to fit protocol with errors
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=f4c1cfa38a61462efccf86ba37311b44dca3f1cc;p=ttt

Fixed signature of ttt_board_make_move to fit protocol with errors
---

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 <stdio.h>
 #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
 
+