mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 06:44:27 +08: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"
|
#include "SDL_n3dsswkb.h"
|
||||||
|
|
||||||
static SwkbdState sw_keyboard;
|
static SwkbdState sw_keyboard;
|
||||||
const static size_t BUFFER_SIZE = 256;
|
static const size_t BUFFER_SIZE = 256;
|
||||||
|
|
||||||
void N3DS_SwkbInit(void)
|
void N3DS_SwkbInit(void)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ extern SDL_DECLSPEC void SDLCALL JNI_OnLoad(void);
|
|||||||
|
|
||||||
#include <SDL3/SDL_openxr.h>
|
#include <SDL3/SDL_openxr.h>
|
||||||
|
|
||||||
const static struct {
|
static const struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
SDL_FunctionPointer address;
|
SDL_FunctionPointer address;
|
||||||
} sdl_symbols[] = {
|
} sdl_symbols[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user