mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-26 01:46:20 +08:00
Fix warning: strict prototypes (#14992)
clang: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
This commit is contained in:
@@ -78,7 +78,7 @@ static void QuitGtk(void)
|
||||
libgtk = NULL;
|
||||
}
|
||||
|
||||
static bool IsGtkInit()
|
||||
static bool IsGtkInit(void)
|
||||
{
|
||||
return libgdk != NULL && libgtk != NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user