shithub: puzzles

Download patch

ref: 441b11b310a17dbf7751f4c77fe69ca729b0fffb
parent: b3da23806e7023fb579360adf049bb89a68716f5
author: Franklin Wei <[email protected]>
date: Tue Apr 24 14:00:08 EDT 2018

Make static keyword come first everywhere.

I somehow missed these instances as well. Oh well.

--- a/towers.c
+++ b/towers.c
@@ -130,7 +130,7 @@
     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         },
--- a/unequal.c
+++ b/unequal.c
@@ -111,7 +111,7 @@
 
 #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 },
--- a/unruly.c
+++ b/unruly.c
@@ -94,7 +94,7 @@
 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},