GCC: 'static' is not at beginning of declaration [-Wold-style-declaration] (cherry picked from commit 0c7d4d5a89ce23bc511fbd4b5113c043f7754486)
@@ -28,7 +28,7 @@
#include "SDL_n3dsswkb.h"
static SwkbdState sw_keyboard;
-const static size_t BUFFER_SIZE = 256;
+static const size_t BUFFER_SIZE = 256;
void N3DS_SwkbInit(void)
{
@@ -66,7 +66,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(void);
extern SDL_DECLSPEC void SDLCALL JNI_OnLoad(void);
-const static struct {
+static const struct {
const char *name;
SDL_FunctionPointer address;
} sdl_symbols[] = {