Explorar o código

remove warning prototype SDL_ExitProcess()

Sylvain Becker %!s(int64=5) %!d(string=hai) anos
pai
achega
336a75491e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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__