瀏覽代碼

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

Anonymous Maarten 1 年之前
父節點
當前提交
173c168ff4
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/dynapi/SDL_dynapi.c

+ 0 - 5
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,