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:
RaceTheMaSe 2026-02-07 16:38:59 +01:00 committed by GitHub
parent 017d950b6b
commit 4f183506f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 11 deletions

View file

@ -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;