From 45bb9e6706f211ff11404039c65052590500b68e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 4 Jan 2023 14:55:58 +0100 Subject: [PATCH] build: Fix some more ObjC issues --- lib/libimhex/source/helpers/fs_macos.m | 2 +- lib/libimhex/source/helpers/utils_macos.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libimhex/source/helpers/fs_macos.m b/lib/libimhex/source/helpers/fs_macos.m index 1549f196e..fb5502096 100644 --- a/lib/libimhex/source/helpers/fs_macos.m +++ b/lib/libimhex/source/helpers/fs_macos.m @@ -41,4 +41,4 @@ free(ptr); } -#endif \ No newline at end of file +#endif diff --git a/lib/libimhex/source/helpers/utils_macos.m b/lib/libimhex/source/helpers/utils_macos.m index 07f351a78..81a068847 100644 --- a/lib/libimhex/source/helpers/utils_macos.m +++ b/lib/libimhex/source/helpers/utils_macos.m @@ -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 \ No newline at end of file +#endif