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. --- map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.c') diff --git a/map.c b/map.c index 649821f..f11f885 100644 --- a/map.c +++ b/map.c @@ -1725,7 +1725,7 @@ static const char *parse_edge_list(const game_params *params, bool state; const char *p = *desc; const char *err = NULL; - int *dsf = snew_dsf(wh); + DSF *dsf = snew_dsf(wh); pos = -1; state = false; -- cgit v1.1