Commit 336a75491e277a30e8d2ff45c55eb1aa7bc1e17a

Sylvain Becker 2019-10-19T09:23:40

remove warning prototype SDL_ExitProcess()

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/SDL.c b/src/SDL.c
index 7515a30..2596d55 100644
--- a/src/SDL.c
+++ b/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__