Browse Source

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

Ozkan Sezer 5 years ago
parent
commit
200d37dabb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/SDL.c

+ 1 - 1
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