mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00: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:
parent
a7e5870b88
commit
9363ecc764
7 changed files with 11 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue