From 89c438e149a91fffa74b2669f7e0cd05abc3420f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 20 Apr 2023 14:06:43 +0100 Subject: Declare all dsfs as a dedicated type name 'DSF'. In this commit, 'DSF' is simply a typedef for 'int', so that the new declaration form 'DSF *' translates to the same type 'int *' that dsfs have always had. So all we're doing here is mechanically changing type declarations throughout the code. --- dominosa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dominosa.c') diff --git a/dominosa.c b/dominosa.c index 8835bbb..8b3c83e 100644 --- a/dominosa.c +++ b/dominosa.c @@ -350,7 +350,8 @@ struct solver_scratch { struct solver_square **squares_by_number; struct findloopstate *fls; bool squares_by_number_initialised; - int *wh_scratch, *pc_scratch, *pc_scratch2, *dc_scratch, *dsf_scratch; + int *wh_scratch, *pc_scratch, *pc_scratch2, *dc_scratch; + DSF *dsf_scratch; }; static struct solver_scratch *solver_make_scratch(int n) -- cgit v1.1