]> git.cworth.org Git - ttt/blobdiff - src/ttt-board.h
2005-11-28 kevin worth <kevin@theworths.org>
[ttt] / src / ttt-board.h
index 7f9c92dd1ea365fed55ff1082c0821ccf9e5666a..e9498ccca87cfc4b4d7e08bd1f90b9a1e4c4d8df 100644 (file)
 #ifndef _TTT_BOARD_H_
 #define _TTT_BOARD_H_
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include "ttt.h"
 
 #define TTT_BOARD_MAX_CELLS 9
 
-typedef struct ttt_board {
-  int cells[TTT_BOARD_MAX_CELLS];
-} ttt_board_t;
+typedef struct _ttt_board ttt_board_t;
 
 void
 ttt_board_init (ttt_board_t *board);