mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Make static keyword come first everywhere.
I somehow missed these instances as well. Oh well.
This commit is contained in:

committed by
Simon Tatham

parent
b3da23806e
commit
441b11b310
2
towers.c
2
towers.c
@ -130,7 +130,7 @@ static game_params *default_params(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
const static struct game_params towers_presets[] = {
|
static const struct game_params towers_presets[] = {
|
||||||
{ 4, DIFF_EASY },
|
{ 4, DIFF_EASY },
|
||||||
{ 5, DIFF_EASY },
|
{ 5, DIFF_EASY },
|
||||||
{ 5, DIFF_HARD },
|
{ 5, DIFF_HARD },
|
||||||
|
@ -111,7 +111,7 @@ static char const unequal_diffchars[] = DIFFLIST(ENCODE);
|
|||||||
|
|
||||||
#define DEFAULT_PRESET 0
|
#define DEFAULT_PRESET 0
|
||||||
|
|
||||||
const static struct game_params unequal_presets[] = {
|
static const struct game_params unequal_presets[] = {
|
||||||
{ 4, DIFF_EASY, 0 },
|
{ 4, DIFF_EASY, 0 },
|
||||||
{ 5, DIFF_EASY, 0 },
|
{ 5, DIFF_EASY, 0 },
|
||||||
{ 5, DIFF_SET, 0 },
|
{ 5, DIFF_SET, 0 },
|
||||||
|
2
unruly.c
2
unruly.c
@ -94,7 +94,7 @@ static char const *const unruly_diffnames[] = { DIFFLIST(TITLE) };
|
|||||||
static char const unruly_diffchars[] = DIFFLIST(ENCODE);
|
static char const unruly_diffchars[] = DIFFLIST(ENCODE);
|
||||||
#define DIFFCONFIG DIFFLIST(CONFIG)
|
#define DIFFCONFIG DIFFLIST(CONFIG)
|
||||||
|
|
||||||
const static struct game_params unruly_presets[] = {
|
static const struct game_params unruly_presets[] = {
|
||||||
{ 8, 8, FALSE, DIFF_EASY},
|
{ 8, 8, FALSE, DIFF_EASY},
|
||||||
{ 8, 8, FALSE, DIFF_NORMAL},
|
{ 8, 8, FALSE, DIFF_NORMAL},
|
||||||
{10, 10, FALSE, DIFF_EASY},
|
{10, 10, FALSE, DIFF_EASY},
|
||||||
|
Reference in New Issue
Block a user