Skip to content

Commit

Permalink
Default functions are already declared by the first SDL_dynapi_procs.…
Browse files Browse the repository at this point in the history
…h include
  • Loading branch information
madebr committed Sep 20, 2024
1 parent 73f909e commit b10e193
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dynapi/SDL_dynapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b10e193

Please sign in to comment.