소스 검색

remove warning prototype SDL_ExitProcess()

Sylvain Becker 5 년 전
부모
커밋
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
     parts of SDL, because we don't want anything calling it without an
     extremely good reason. */
+extern SDL_NORETURN void SDL_ExitProcess(const int exitcode);
 SDL_NORETURN void SDL_ExitProcess(const int exitcode)
 {
 #ifdef __WIN32__