Static at beginning

GCC: 'static' is not at beginning of declaration [-Wold-style-declaration]
This commit is contained in:
Max Seidenstücker
2026-02-06 16:20:00 +01:00
committed by Özkan Sezer
parent 9fda8f2669
commit 0c7d4d5a89
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{

View File

@@ -68,7 +68,7 @@ extern SDL_DECLSPEC void SDLCALL JNI_OnLoad(void);
#include <SDL3/SDL_openxr.h>
const static struct {
static const struct {
const char *name;
SDL_FunctionPointer address;
} sdl_symbols[] = {