mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
I've never trusted common variables. Take those bare ints out of
latin.h and put them in latin.c with 'extern' declarations in the header. [originally from svn r8794]
This commit is contained in:
4
latin.c
4
latin.c
@ -16,6 +16,10 @@
|
|||||||
* Solver.
|
* Solver.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef STANDALONE_SOLVER
|
||||||
|
int solver_show_working, solver_recurse_depth;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function called when we are certain that a particular square has
|
* Function called when we are certain that a particular square has
|
||||||
* a particular number in it. The y-coordinate passed in here is
|
* a particular number in it. The y-coordinate passed in here is
|
||||||
|
2
latin.h
2
latin.h
@ -8,7 +8,7 @@ typedef unsigned char digit;
|
|||||||
/* --- Solver structures, definitions --- */
|
/* --- Solver structures, definitions --- */
|
||||||
|
|
||||||
#ifdef STANDALONE_SOLVER
|
#ifdef STANDALONE_SOLVER
|
||||||
int solver_show_working, solver_recurse_depth;
|
extern int solver_show_working, solver_recurse_depth;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct latin_solver {
|
struct latin_solver {
|
||||||
|
Reference in New Issue
Block a user