]> git.cworth.org Git - ttt/commitdiff
2005-11-28 kevin worth <kevin@theworths.org>
authorKevin Worth <kevin@theworths.org>
Mon, 28 Nov 2005 17:48:06 +0000 (17:48 +0000)
committerKevin Worth <kevin@theworths.org>
Mon, 28 Nov 2005 17:48:06 +0000 (17:48 +0000)
        * src/ttt-board.c:
        * src/ttt-board.h: Moved struct def from ttt-board.h into
        ttt-board.c to make it private

        * src/ttt-lex.h:
        Autogenerated

ChangeLog
src/ttt-board.c
src/ttt-board.h
src/ttt-lex.h

index 4e2aba188312a971971bdcb7cd21b86f9ef9d7a0..d1a6ced9d6417665bc6849c6de8e6b9f855a6808 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-28  kevin worth  <kevin@theworths.org>
+
+       * src/ttt-board.c:
+       * src/ttt-board.h: Moved struct def from ttt-board.h into
+       ttt-board.c to make it private
+       
+       * src/ttt-lex.h:
+       Autogenerated
+
 2005-11-28  Carl Worth  <cworth@cworth.org>
 
        * TODO: Add instructions on using the first letter of our names to
 2005-11-28  Carl Worth  <cworth@cworth.org>
 
        * TODO: Add instructions on using the first letter of our names to
index 7627b4d699e3ab5be18267bb21cffb223bcd1f64..27fb19ee939e82df9921bf173b949135b90c98b4 100644 (file)
 
 #include "ttt-board.h"
 
 
 #include "ttt-board.h"
 
+struct _ttt_board {
+  int cells[TTT_BOARD_MAX_CELLS];
+};
+
 /* Initialize an empty board. */
 void
 ttt_board_init (ttt_board_t *board)
 /* Initialize an empty board. */
 void
 ttt_board_init (ttt_board_t *board)
index c589a7716f211bfbd849dc4110393cc03d7a73ac..e9498ccca87cfc4b4d7e08bd1f90b9a1e4c4d8df 100644 (file)
@@ -26,9 +26,7 @@
 
 #define TTT_BOARD_MAX_CELLS 9
 
 
 #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);
 
 void
 ttt_board_init (ttt_board_t *board);
index 964b6a0af66f72d546d6d8d4ddf210bbd27e6f62..d70d5d89ce9ca4134965a7b6a2f5565daa8566a1 100644 (file)
@@ -224,6 +224,8 @@ void yyfree (void * ,yyscan_t yyscanner );
 #define YY_EXTRA_TYPE void *
 #endif
 
 #define YY_EXTRA_TYPE void *
 #endif
 
+static int yy_init_globals (yyscan_t yyscanner );
+
 /* Accessor methods to globals.
    These are made visible to non-reentrant scanners for convenience. */
 
 /* Accessor methods to globals.
    These are made visible to non-reentrant scanners for convenience. */