Fix warnings about static function and prototype

This commit is contained in:
Sylvain 2023-03-08 11:40:07 +01:00 committed by Sylvain Becker
parent 61309b4382
commit 16bb6a0b3d
30 changed files with 137 additions and 142 deletions

View file

@ -106,7 +106,7 @@ print_modifiers(char **text, size_t *maxlen)
}
static void
PrintModifierState()
PrintModifierState(void)
{
char message[512];
char *spot;
@ -165,7 +165,7 @@ PrintText(const char *eventtype, const char *text)
SDL_Log("%s Text (%s): \"%s%s\"\n", eventtype, expanded, *text == '"' ? "\\" : "", text);
}
void loop()
static void loop(void)
{
SDL_Event event;
/* Check for events */