mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-18 06:51:11 +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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user