shithub: puzzles

Download patch

ref: 79bb9c00b306905c01e43f45d8bf76b5373ede30
parent: c91471e6c155853377d0ac9b5a9a4219c214674e
author: Simon Tatham <anakin@pobox.com>
date: Fri Jan 1 14:41:59 EST 2010

Couple of missing 'static's.

[originally from svn r8801]

--- a/keen.c
+++ b/keen.c
@@ -1748,8 +1748,8 @@
     sfree(ds);
 }
 
-void draw_tile(drawing *dr, game_drawstate *ds, struct clues *clues,
-	       int x, int y, long tile)
+static void draw_tile(drawing *dr, game_drawstate *ds, struct clues *clues,
+		      int x, int y, long tile)
 {
     int w = clues->w /* , a = w*w */;
     int tx, ty, tw, th;
--- a/unfinished/group.c
+++ b/unfinished/group.c
@@ -1316,8 +1316,8 @@
     sfree(ds);
 }
 
-void draw_tile(drawing *dr, game_drawstate *ds, int x, int y, long tile,
-	       long pencil, long error)
+static void draw_tile(drawing *dr, game_drawstate *ds, int x, int y, long tile,
+		      long pencil, long error)
 {
     int w = ds->w /* , a = w*w */;
     int tx, ty, tw, th;