aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-04-20 14:12:11 +0100
committerSimon Tatham <anakin@pobox.com>2023-04-20 17:23:23 +0100
commit095224d5711f3482d6be0ffc01621143f25c7104 (patch)
tree7ef8e7c682dbcde9cd8247fb5d963b8ddcf88280 /puzzles.h
parent89c438e149a91fffa74b2669f7e0cd05abc3420f (diff)
downloadpuzzles-095224d5711f3482d6be0ffc01621143f25c7104.zip
puzzles-095224d5711f3482d6be0ffc01621143f25c7104.tar.gz
puzzles-095224d5711f3482d6be0ffc01621143f25c7104.tar.bz2
puzzles-095224d5711f3482d6be0ffc01621143f25c7104.tar.xz
Actually make DSF an opaque structure type.
This makes good on all the previous preparatory commits, which I did separately so that each one individually has a reasonably readable diff, and all the mechanical changes are separated out from the rewrites that needed actual thought. Still no functional change, however: the DSF type wraps nothing but the same int pointer that 'DSF *' used to store directly.
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/puzzles.h b/puzzles.h
index 86e9316..8a949de 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -426,7 +426,7 @@ char *button2label(int button);
/*
* dsf.c
*/
-typedef int DSF;
+typedef struct DSF DSF;
DSF *snew_dsf(int size);
void dsf_free(DSF *dsf);