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.
This commit is contained in:
Simon Tatham
2023-04-20 14:06:43 +01:00
parent 7abf85a9c6
commit 89c438e149
24 changed files with 122 additions and 100 deletions

2
map.c
View File

@ -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;