chiark / gitweb /
Make static keyword come first everywhere.
authorFranklin Wei <me@fwei.tk>
Tue, 24 Apr 2018 22:00:08 +0000 (18:00 -0400)
committerSimon Tatham <anakin@pobox.com>
Wed, 25 Apr 2018 05:48:57 +0000 (06:48 +0100)
I somehow missed these instances as well. Oh well.

towers.c
unequal.c
unruly.c

index d90167b0d8dcb866e9a344e8a0956c6e8cf30209..62d4de7b8b42fa15c2e23ddf09871a2f98e45a20 100644 (file)
--- 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         },
index b87415b9fbaac28f22eaca9db68d0b61b6080bcb..dd7656ed9ede0e64bb6a867b04b7ee3e7db059ef 100644 (file)
--- 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 },
index b3057a72987eeaa173e6b57c7c85d638e3423a2c..6506029d7e032f9b93832f22d2da83bf1c29ffe1 100644 (file)
--- 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},