Make static keyword come first everywhere.

I somehow missed these instances as well. Oh well.
This commit is contained in:
Franklin Wei
2018-04-24 18:00:08 -04:00
committed by Simon Tatham
parent b3da23806e
commit 441b11b310
3 changed files with 3 additions and 3 deletions

View File

@ -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 },

View File

@ -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 },

View File

@ -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},