Default functions are already declared by the first SDL_dynapi_procs.h include

This commit is contained in:
Anonymous Maarten
2024-09-20 01:01:00 +02:00
committed by Anonymous Maarten
parent fd9f2ae5b5
commit 173c168ff4

View File

@@ -194,11 +194,6 @@ typedef struct
#undef SDL_DYNAPI_PROC
} SDL_DYNAPI_jump_table;
// Predeclare the default functions for initializing the jump table.
#define SDL_DYNAPI_PROC(rc, fn, params, args, ret) static rc SDLCALL fn##_DEFAULT params;
#include "SDL_dynapi_procs.h"
#undef SDL_DYNAPI_PROC
// The actual jump table.
static SDL_DYNAPI_jump_table jump_table = {
#define SDL_DYNAPI_PROC(rc, fn, params, args, ret) fn##_DEFAULT,