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

This commit is contained in:
Ozkan Sezer 2019-11-20 02:47:40 +03:00
parent 972a70d844
commit 200d37dabb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ extern int SDL_HelperWindowDestroy(void);
parts of SDL, because we don't want anything calling it without an parts of SDL, because we don't want anything calling it without an
extremely good reason. */ extremely good reason. */
extern SDL_NORETURN void SDL_ExitProcess(int exitcode); 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__ #ifdef __WIN32__
/* "if you do not know the state of all threads in your process, it is /* "if you do not know the state of all threads in your process, it is