Fixed Xcode warnings

This commit is contained in:
Sam Lantinga
2024-01-13 08:15:41 -08:00
parent 5db6eb7742
commit b6e97d9ff0
21 changed files with 39 additions and 39 deletions

View File

@@ -220,7 +220,7 @@ static int StrIsInteger(const char *string)
}
#endif /* HAVE_INOTIFY */
static void HIDAPI_InitializeDiscovery()
static void HIDAPI_InitializeDiscovery(void)
{
SDL_HIDAPI_discovery.m_bInitialized = SDL_TRUE;
SDL_HIDAPI_discovery.m_unDeviceChangeCounter = 1;
@@ -359,7 +359,7 @@ static void HIDAPI_InitializeDiscovery()
}
}
static void HIDAPI_UpdateDiscovery()
static void HIDAPI_UpdateDiscovery(void)
{
if (!SDL_HIDAPI_discovery.m_bInitialized) {
HIDAPI_InitializeDiscovery();
@@ -476,7 +476,7 @@ static void HIDAPI_UpdateDiscovery()
}
}
static void HIDAPI_ShutdownDiscovery()
static void HIDAPI_ShutdownDiscovery(void)
{
if (!SDL_HIDAPI_discovery.m_bInitialized) {
return;

View File

@@ -475,7 +475,7 @@ typedef enum
// Core Bluetooth devices calling back on event boundaries of their run-loops. so annoying.
static void process_pending_events()
static void process_pending_events(void)
{
CFRunLoopRunResult res;
do