Adding void to empty function prototype parenthesis
This commit is contained in:
committed by
Sam Lantinga
parent
b15fab0207
commit
fd2a266549
@@ -33,7 +33,7 @@ Uint64 next(Uint64 state[2]) {
|
||||
return result;
|
||||
}
|
||||
static Uint64 rngState[2] = {1, 2};
|
||||
Uint32 getRandomUint32() {
|
||||
Uint32 getRandomUint32(void) {
|
||||
return (Uint32)next(rngState);
|
||||
}
|
||||
/* ================= Test Case Helper Functions ================== */
|
||||
|
||||
@@ -619,7 +619,7 @@ init_render_state(int msaa)
|
||||
|
||||
static int done = 0;
|
||||
|
||||
void loop()
|
||||
void loop(void)
|
||||
{
|
||||
SDL_Event event;
|
||||
int i;
|
||||
|
||||
@@ -35,7 +35,7 @@ static void DrawRects(SDL_Renderer *renderer)
|
||||
SDLTest_DrawString(renderer, 0.f, 0.f, "Relative Mode: Enabled");
|
||||
}
|
||||
|
||||
static void CenterMouse()
|
||||
static void CenterMouse(void)
|
||||
{
|
||||
/* Warp the mouse back to the center of the window with input focus to use the
|
||||
* center point for calculating future motion deltas.
|
||||
|
||||
Reference in New Issue
Block a user