浏览代码

remove warning prototype SDL_ExitProcess()

Sylvain Becker 6 年之前
父节点
当前提交
336a75491e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/SDL.c

+ 1 - 0
src/SDL.c

@@ -56,6 +56,7 @@ extern int SDL_HelperWindowDestroy(void);
 /* This is not declared in any header, although it is shared between some
 /* This is not declared in any header, although it is shared between some
     parts of SDL, because we don't want anything calling it without an
     parts of SDL, because we don't want anything calling it without an
     extremely good reason. */
     extremely good reason. */
+extern SDL_NORETURN void SDL_ExitProcess(const int exitcode);
 SDL_NORETURN void SDL_ExitProcess(const int exitcode)
 SDL_NORETURN void SDL_ExitProcess(const int exitcode)
 {
 {
 #ifdef __WIN32__
 #ifdef __WIN32__