Readability: remove const-qualifation from function declaration

const-qualification of parameters only has an effect in function definitions
This commit is contained in:
Sylvain Becker 2019-10-30 15:43:49 +01:00
parent 60d3965ece
commit 3d100df36f
3 changed files with 5 additions and 5 deletions

View file

@ -56,7 +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);
extern SDL_NORETURN void SDL_ExitProcess(int exitcode);
SDL_NORETURN void SDL_ExitProcess(const int exitcode)
{
#ifdef __WIN32__