Fixed Xcode warnings

This commit is contained in:
Sam Lantinga committed 2024-01-13 08:15:41 -08:00
1 parent 5db6eb7742
commit b6e97d9ff0
21 files changed
+39 -39

No files matched your search

+3 -3
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;
+1 -1
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