mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-12 23:03:37 +00:00
Static at beginning
GCC: 'static' is not at beginning of declaration [-Wold-style-declaration]
This commit is contained in:
committed by
Özkan Sezer
parent
9fda8f2669
commit
0c7d4d5a89
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user