Commit 200d37dabbeff38526514969cc97e10838ce53ce

Ozkan Sezer 2019-11-20T02:47:40

SDL.c (SDL_ExitProcess): unconstify its param to match its declaration.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/SDL.c b/src/SDL.c
index 9315643..6e86ff8 100644
--- a/src/SDL.c
+++ b/src/SDL.c
@@ -57,7 +57,7 @@ extern int SDL_HelperWindowDestroy(void);
     parts of SDL, because we don't want anything calling it without an
     extremely good reason. */
 extern SDL_NORETURN void SDL_ExitProcess(int exitcode);
-SDL_NORETURN void SDL_ExitProcess(const int exitcode)
+SDL_NORETURN void SDL_ExitProcess(int exitcode)
 {
 #ifdef __WIN32__
     /* "if you do not know the state of all threads in your process, it is