From 0c7d4d5a89ce23bc511fbd4b5113c043f7754486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Seidenst=C3=BCcker?= Date: Fri, 6 Feb 2026 16:20:00 +0100 Subject: [PATCH] Static at beginning GCC: 'static' is not at beginning of declaration [-Wold-style-declaration] --- src/video/n3ds/SDL_n3dsswkb.c | 2 +- test/testsymbols.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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[] = {