From 173c168ff4f4ec5502a11453ae08cfab85179c34 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 20 Sep 2024 01:01:00 +0200 Subject: [PATCH] Default functions are already declared by the first SDL_dynapi_procs.h include --- src/dynapi/SDL_dynapi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/dynapi/SDL_dynapi.c b/src/dynapi/SDL_dynapi.c index c0078ad99a..21b9bb80f3 100644 --- a/src/dynapi/SDL_dynapi.c +++ b/src/dynapi/SDL_dynapi.c @@ -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,