build: Fix some more ObjC issues

This commit is contained in:
WerWolv 2023-01-04 14:55:58 +01:00
parent e6d14507e2
commit 45bb9e6706
2 changed files with 3 additions and 3 deletions

View file

@ -41,4 +41,4 @@
free(ptr);
}
#endif
#endif

View file

@ -15,7 +15,7 @@
CFRelease(urlRef);
}
bool isMacosSystemDarkModeEnabled() {
bool isMacosSystemDarkModeEnabled(void) {
NSString * appleInterfaceStyle = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
if (appleInterfaceStyle && [appleInterfaceStyle length] > 0) {
@ -25,4 +25,4 @@
}
}
#endif
#endif