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:
RaceTheMaSe
2026-02-07 16:38:59 +01:00
committed by Ozkan Sezer
parent a7e5870b88
commit 9363ecc764
7 changed files with 11 additions and 11 deletions

View File

@@ -33,7 +33,7 @@
// Assume we can directly read and write BMP fields without byte swapping
SDL_COMPILE_TIME_ASSERT(verify_byte_order, SDL_BYTEORDER == SDL_LIL_ENDIAN);
static UINT GetClipboardFormatPNG()
static UINT GetClipboardFormatPNG(void)
{
static UINT format;

View File

@@ -101,7 +101,7 @@ static void WIN_CacheKeymap(HKL layout, SDL_Keymap *keymap)
++keymap_cache_size;
}
static SDL_Keymap *WIN_BuildKeymap()
static SDL_Keymap *WIN_BuildKeymap(void)
{
SDL_Scancode scancode;
BYTE keyboardState[256] = { 0 };