chiark / gitweb /
Move `static' keyword to beginning of declaration.
authorFranklin Wei <me@fwei.tk>
Mon, 23 Apr 2018 23:54:43 +0000 (19:54 -0400)
committerSimon Tatham <anakin@pobox.com>
Tue, 24 Apr 2018 20:32:56 +0000 (21:32 +0100)
Rockbox's GCC warns about this with -Wextra.

keen.c

diff --git a/keen.c b/keen.c
index 1e531d9905a74852e330671cff144a45e76d3ff0..be77b183baec7497f3f94392338985dbd02d005e 100644 (file)
--- a/keen.c
+++ b/keen.c
@@ -91,7 +91,7 @@ static game_params *default_params(void)
     return ret;
 }
 
-const static struct game_params keen_presets[] = {
+static const struct game_params keen_presets[] = {
     {  4, DIFF_EASY,         FALSE },
     {  5, DIFF_EASY,         FALSE },
     {  5, DIFF_EASY,         TRUE  },