diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-04-20 14:06:43 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-04-20 17:23:21 +0100 |
| commit | 89c438e149a91fffa74b2669f7e0cd05abc3420f (patch) | |
| tree | a307d0c2dde7c2868e32a840497d44051d9b4630 /auxiliary | |
| parent | 7abf85a9c6b460698994d9cfa538b7b26fed5e87 (diff) | |
| download | puzzles-89c438e149a91fffa74b2669f7e0cd05abc3420f.zip puzzles-89c438e149a91fffa74b2669f7e0cd05abc3420f.tar.gz puzzles-89c438e149a91fffa74b2669f7e0cd05abc3420f.tar.bz2 puzzles-89c438e149a91fffa74b2669f7e0cd05abc3420f.tar.xz | |
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.
Diffstat (limited to 'auxiliary')
| -rw-r--r-- | auxiliary/divvy-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auxiliary/divvy-test.c b/auxiliary/divvy-test.c index b7e3d6c..14100da 100644 --- a/auxiliary/divvy-test.c +++ b/auxiliary/divvy-test.c @@ -7,7 +7,7 @@ int main(int argc, char **argv) { - int *dsf; + DSF *dsf; int i; int w = 9, h = 4, k = 6, tries = 100; random_state *rs; |