diff --git a/src/video/n3ds/SDL_n3dsswkb.c b/src/video/n3ds/SDL_n3dsswkb.c index 16e6c5f27b..dd54a4c9e4 100644 --- a/src/video/n3ds/SDL_n3dsswkb.c +++ b/src/video/n3ds/SDL_n3dsswkb.c @@ -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) { diff --git a/test/testsymbols.c b/test/testsymbols.c index dabbcd2b5c..70f14fb11f 100644 --- a/test/testsymbols.c +++ b/test/testsymbols.c @@ -68,7 +68,7 @@ extern SDL_DECLSPEC void SDLCALL JNI_OnLoad(void); #include -const static struct { +static const struct { const char *name; SDL_FunctionPointer address; } sdl_symbols[] = {