mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-14 07:38:24 +02:00
Fix warning: strict prototypes (#14992)
clang: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
(cherry picked from commit 4f183506f6)
This commit is contained in:
@@ -304,7 +304,7 @@ static SDL_Texture *CreateTexture(const void *pixels, int pitch)
|
||||
return tex;
|
||||
}
|
||||
|
||||
static bool CreateTextures()
|
||||
static bool CreateTextures(void)
|
||||
{
|
||||
Uint8 data[256];
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user