aboutsummaryrefslogtreecommitdiff
path: root/dsf.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-08-03 12:44:51 +0000
committerSimon Tatham <anakin@pobox.com>2005-08-03 12:44:51 +0000
commit414330d9ad00e3b788d48b1d928e46ad7698c508 (patch)
tree5b8d4185b832f4bc248ffeca46fe444e1276937f /dsf.c
parentc212a1b5ebc69cb4818053474aa7fea9043f70fd (diff)
downloadpuzzles-414330d9ad00e3b788d48b1d928e46ad7698c508.zip
puzzles-414330d9ad00e3b788d48b1d928e46ad7698c508.tar.gz
puzzles-414330d9ad00e3b788d48b1d928e46ad7698c508.tar.bz2
puzzles-414330d9ad00e3b788d48b1d928e46ad7698c508.tar.xz
Cleanups from James H: a few missing statics, a precautionary cast
or two, a debugging fix, a couple of explicit initialisations of variables that were previously read uninitialised, and a fix for a whopping great big memory leak in Slant owing to me having completely forgotten to write free_game(). [originally from svn r6159]
Diffstat (limited to 'dsf.c')
-rw-r--r--dsf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dsf.c b/dsf.c
index 353bf1a..a81bc3c 100644
--- a/dsf.c
+++ b/dsf.c
@@ -4,6 +4,8 @@
* worry about avoiding closed loops.
*/
+#include "puzzles.h"
+
int dsf_canonify(int *dsf, int val)
{
int v2 = val;