From 441b11b310a17dbf7751f4c77fe69ca729b0fffb Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 24 Apr 2018 18:00:08 -0400 Subject: [PATCH] Make static keyword come first everywhere. I somehow missed these instances as well. Oh well. --- towers.c | 2 +- unequal.c | 2 +- unruly.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/towers.c b/towers.c index d90167b..62d4de7 100644 --- a/towers.c +++ b/towers.c @@ -130,7 +130,7 @@ static game_params *default_params(void) return ret; } -const static struct game_params towers_presets[] = { +static const struct game_params towers_presets[] = { { 4, DIFF_EASY }, { 5, DIFF_EASY }, { 5, DIFF_HARD }, diff --git a/unequal.c b/unequal.c index b87415b..dd7656e 100644 --- a/unequal.c +++ b/unequal.c @@ -111,7 +111,7 @@ static char const unequal_diffchars[] = DIFFLIST(ENCODE); #define DEFAULT_PRESET 0 -const static struct game_params unequal_presets[] = { +static const struct game_params unequal_presets[] = { { 4, DIFF_EASY, 0 }, { 5, DIFF_EASY, 0 }, { 5, DIFF_SET, 0 }, diff --git a/unruly.c b/unruly.c index b3057a7..6506029 100644 --- a/unruly.c +++ b/unruly.c @@ -94,7 +94,7 @@ static char const *const unruly_diffnames[] = { DIFFLIST(TITLE) }; static char const unruly_diffchars[] = DIFFLIST(ENCODE); #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_NORMAL}, {10, 10, FALSE, DIFF_EASY},