More fix warnings about static function and prototype
This commit is contained in:
1 parent
16bb6a0b3d
commit
c963f02571
38 files changed
+262
-257
No files matched your search
+2
-4
@@ -28,8 +28,7 @@ static float mouseX, mouseY;
|
||||
static SDL_FRect rect;
|
||||
static SDL_Event event;
|
||||
|
||||
static void
|
||||
DrawRects(SDL_Renderer *renderer)
|
||||
static void DrawRects(SDL_Renderer *renderer)
|
||||
{
|
||||
SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);
|
||||
rect.x = mouseX;
|
||||
@@ -37,8 +36,7 @@ DrawRects(SDL_Renderer *renderer)
|
||||
SDL_RenderFillRect(renderer, &rect);
|
||||
}
|
||||
|
||||
static void
|
||||
loop()
|
||||
static void loop(void)
|
||||
{
|
||||
/* Check for events */
|
||||
while (SDL_PollEvent(&event)) {
|
||||
|
||||
Reference in new issue
Block a user