diff options
| author | Simon Tatham <anakin@pobox.com> | 2021-03-29 18:13:38 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2021-03-29 18:22:20 +0100 |
| commit | 72b28b5e71b05e7775d14b1e3e2e00b82af4d87a (patch) | |
| tree | 0f7f553b993d006bb35781ac02d9e717ab662f39 /unfinished/numgame.c | |
| parent | 84cb4c6701e027090ff3fd955ce08065e20121b2 (diff) | |
| download | puzzles-72b28b5e71b05e7775d14b1e3e2e00b82af4d87a.zip puzzles-72b28b5e71b05e7775d14b1e3e2e00b82af4d87a.tar.gz puzzles-72b28b5e71b05e7775d14b1e3e2e00b82af4d87a.tar.bz2 puzzles-72b28b5e71b05e7775d14b1e3e2e00b82af4d87a.tar.xz | |
Fix bit rot in the 'unfinished' subdir.
Several of the source files here won't quite compile any more, because
of minor things like const-correctness and the UI_UPDATE change. Now
they should all build again (without prejudice to how useful they are
once they have built).
The biggest change was to remove the fatal() implementation from the
standalone path.c, because my new plan is that basically everything
that's not linked against a true puzzle frontend will be linked
against nullfe.c, which provides that function anyway.
Diffstat (limited to 'unfinished/numgame.c')
| -rw-r--r-- | unfinished/numgame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unfinished/numgame.c b/unfinished/numgame.c index d444b22..e6dc03a 100644 --- a/unfinished/numgame.c +++ b/unfinished/numgame.c @@ -146,7 +146,7 @@ struct operation { * Text display of the operator, in expressions and for * debugging respectively. */ - char *text, *dbgtext; + const char *text, *dbgtext; /* * Flags dictating when the operator can be applied. @@ -1020,7 +1020,7 @@ void print_recurse_inner(struct sets *s, struct set *ss, * operand, then write the operator, then the second * operand, and finally close the paren. */ - char *op; + const char *op; int parens, thispri, thisassoc; /* |