Fix warnings about static function and prototype
This commit is contained in:
1 parent
61309b4382
commit
16bb6a0b3d
30 files changed
+137
-142
No files matched your search
+2
-2
@@ -41,7 +41,7 @@ quit(int rc)
|
||||
exit(rc);
|
||||
}
|
||||
|
||||
void DrawOnViewport(SDL_Renderer *renderer)
|
||||
static void DrawOnViewport(SDL_Renderer *renderer)
|
||||
{
|
||||
SDL_FRect rect;
|
||||
SDL_Rect cliprect;
|
||||
@@ -102,7 +102,7 @@ void DrawOnViewport(SDL_Renderer *renderer)
|
||||
SDL_SetRenderClipRect(renderer, NULL);
|
||||
}
|
||||
|
||||
void loop()
|
||||
static void loop(void)
|
||||
{
|
||||
SDL_Event event;
|
||||
int i;
|
||||
|
||||
Reference in new issue
Block a user