mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Fix warnings about static function and prototype
This commit is contained in:
parent
61309b4382
commit
16bb6a0b3d
30 changed files with 137 additions and 142 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue