aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-04-24 18:00:08 -0400
committerSimon Tatham <anakin@pobox.com>2018-04-25 06:48:57 +0100
commit441b11b310a17dbf7751f4c77fe69ca729b0fffb (patch)
tree42b9b4667191e3430eeca1f6f39094dfa7b37e63
parentb3da23806e7023fb579360adf049bb89a68716f5 (diff)
downloadpuzzles-441b11b310a17dbf7751f4c77fe69ca729b0fffb.zip
puzzles-441b11b310a17dbf7751f4c77fe69ca729b0fffb.tar.gz
puzzles-441b11b310a17dbf7751f4c77fe69ca729b0fffb.tar.bz2
puzzles-441b11b310a17dbf7751f4c77fe69ca729b0fffb.tar.xz
Make static keyword come first everywhere.
I somehow missed these instances as well. Oh well.
-rw-r--r--towers.c2
-rw-r--r--unequal.c2
-rw-r--r--unruly.c2
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},