diff options
| author | Simon Tatham <anakin@pobox.com> | 2012-09-10 18:05:54 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2012-09-10 18:05:54 +0000 |
| commit | 0e8a37581418222ab7bd6063fa13371efd9f9f23 (patch) | |
| tree | 5fc84d936a301dd6b19921de422c62132d840a4b | |
| parent | 0880ef058328c1cad8b5dac8b0e19551bb9bccd1 (diff) | |
| download | puzzles-0e8a37581418222ab7bd6063fa13371efd9f9f23.zip puzzles-0e8a37581418222ab7bd6063fa13371efd9f9f23.tar.gz puzzles-0e8a37581418222ab7bd6063fa13371efd9f9f23.tar.bz2 puzzles-0e8a37581418222ab7bd6063fa13371efd9f9f23.tar.xz | |
Forgot to add the new 'const' in the unfinished subdirectory. Oops.
[originally from svn r9659]
| -rw-r--r-- | unfinished/group.c | 4 | ||||
| -rw-r--r-- | unfinished/separate.c | 4 | ||||
| -rw-r--r-- | unfinished/slide.c | 4 | ||||
| -rw-r--r-- | unfinished/sokoban.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/unfinished/group.c b/unfinished/group.c index b2c62d6..1c2c02e 100644 --- a/unfinished/group.c +++ b/unfinished/group.c @@ -1213,8 +1213,8 @@ static int find_in_sequence(digit *seq, int len, digit n) return -1; } -static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, - int x, int y, int button) +static char *interpret_move(game_state *state, game_ui *ui, + const game_drawstate *ds, int x, int y, int button) { int w = state->par.w; int tx, ty; diff --git a/unfinished/separate.c b/unfinished/separate.c index b20cb52..ee9c830 100644 --- a/unfinished/separate.c +++ b/unfinished/separate.c @@ -718,8 +718,8 @@ struct game_drawstate { int FIXME; }; -static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, - int x, int y, int button) +static char *interpret_move(game_state *state, game_ui *ui, + const game_drawstate *ds, int x, int y, int button) { return NULL; } diff --git a/unfinished/slide.c b/unfinished/slide.c index 6fac469..38ef4d0 100644 --- a/unfinished/slide.c +++ b/unfinished/slide.c @@ -1242,8 +1242,8 @@ struct game_drawstate { int started; }; -static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, - int x, int y, int button) +static char *interpret_move(game_state *state, game_ui *ui, + const game_drawstate *ds, int x, int y, int button) { int w = state->w, h = state->h, wh = w*h; int tx, ty, i, j; diff --git a/unfinished/sokoban.c b/unfinished/sokoban.c index 53bd3a5..4b0780c 100644 --- a/unfinished/sokoban.c +++ b/unfinished/sokoban.c @@ -1041,8 +1041,8 @@ int move_type(game_state *state, int dx, int dy) } } -static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, - int x, int y, int button) +static char *interpret_move(game_state *state, game_ui *ui, + const game_drawstate *ds, int x, int y, int button) { int dx=0, dy=0; char *move; |