mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
C89 build fixes.
Recent changes introduced a couple of non-C89-compatible mixed declarations and code.
This commit is contained in:
@ -1289,10 +1289,10 @@ static const char *validate_desc(const game_params *params, const char *desc)
|
||||
|
||||
static key_label *game_request_keys(const game_params *params, int *nkeys)
|
||||
{
|
||||
key_label *keys = snewn(11, key_label);
|
||||
*nkeys = 11;
|
||||
|
||||
int i;
|
||||
key_label *keys = snewn(11, key_label);
|
||||
|
||||
*nkeys = 11;
|
||||
|
||||
for(i = 0; i < 10; ++i)
|
||||
{
|
||||
|
Reference in New Issue
Block a user