mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-19 16:21:44 +00:00
Don't use const for non-pointer API parameters
This commit is contained in:

committed by
Ryan C. Gordon

parent
d2b2a752ce
commit
d5fe6dd627
@@ -232,7 +232,7 @@ bool SDLCALL SDLTest_CommonInit(SDLTest_CommonState *state);
|
|||||||
*
|
*
|
||||||
* \returns false if app should quit, true otherwise.
|
* \returns false if app should quit, true otherwise.
|
||||||
*/
|
*/
|
||||||
bool SDLCALL SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, const int argc, char **argv);
|
bool SDLCALL SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, int argc, char **argv);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Print the details of an event.
|
* Print the details of an event.
|
||||||
|
@@ -787,7 +787,7 @@ void SDLTest_CommonLogUsage(SDLTest_CommonState *state, const char *argv0, const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, const int argc, char **argv)
|
bool SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, int argc, char **argv)
|
||||||
{
|
{
|
||||||
int i = 1;
|
int i = 1;
|
||||||
while (i < argc) {
|
while (i < argc) {
|
||||||
|
Reference in New Issue
Block a user