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. --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.c') diff --git a/net.c b/net.c index 79b4dd1..e0464e6 100644 --- a/net.c +++ b/net.c @@ -462,7 +462,7 @@ static int net_solver(int w, int h, unsigned char *tiles, unsigned char *tilestate; unsigned char *edgestate; int *deadends; - int *equivalence; + DSF *equivalence; struct todo *todo; int i, j, x, y; int area; -- cgit v1.1