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. --- grid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grid.c') diff --git a/grid.c b/grid.c index 51db0e5..28e0575 100644 --- a/grid.c +++ b/grid.c @@ -364,7 +364,7 @@ static int grid_edge_bydots_cmpfn(void *v1, void *v2) static void grid_trim_vigorously(grid *g) { int *dotpairs, *faces, *dots; - int *dsf; + DSF *dsf; int i, j, k, size, newfaces, newdots; /* -- cgit v1.1