aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-25 14:45:22 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-25 14:45:22 +0000
commit3663603627809a11908dc1dfadd158cfde8e0672 (patch)
tree42b42a980fc369b4e37737377c45290e555d76d8 /net.c
parent96dbb537ee14f992459a8359a113a78414addf9d (diff)
downloadpuzzles-3663603627809a11908dc1dfadd158cfde8e0672.zip
puzzles-3663603627809a11908dc1dfadd158cfde8e0672.tar.gz
puzzles-3663603627809a11908dc1dfadd158cfde8e0672.tar.bz2
puzzles-3663603627809a11908dc1dfadd158cfde8e0672.tar.xz
Beginnings of a GTK framework. (And I do mean _beginnings_; it opens
a window and that's about it.) [originally from svn r4139]
Diffstat (limited to 'net.c')
-rw-r--r--net.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net.c b/net.c
index 4984364..a5fe8c0 100644
--- a/net.c
+++ b/net.c
@@ -586,7 +586,11 @@ game_state *make_move(game_state *state, int x, int y, int button)
* Routines for drawing the game position on the screen.
*/
-#ifndef TESTMODE /* FIXME: should be #ifdef */
+/* ----------------------------------------------------------------------
+ * Test code.
+ */
+
+#ifdef TESTMODE
int main(void)
{