summaryrefslogtreecommitdiffstats
path: root/src/os_macosx.m
diff options
context:
space:
mode:
authorMichael Jarvis <michael@jarvis.com>2023-04-19 20:28:48 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-19 20:28:48 +0100
commitbe9624eb47ff4db4f068c65ad9cd37b14d1818a8 (patch)
treec1784266bc044515099d43f870cbaf50ac896d97 /src/os_macosx.m
parent1be4b81bfb3d7edf0e2ae41711d429e8fa5e0555 (diff)
patch 9.0.1471: warnings for function declarationsv9.0.1471
Problem: Warnings for function declarations. Solution: Add argument types. (Michael Jarvis, closes #12277)
Diffstat (limited to 'src/os_macosx.m')
-rw-r--r--src/os_macosx.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m
index 33d29b60e6..153c2f190c 100644
--- a/src/os_macosx.m
+++ b/src/os_macosx.m
@@ -430,7 +430,7 @@ static NSMutableDictionary<NSNumber*, NSSound*> *sounds_list = nil;
@end
void
-process_cfrunloop()
+process_cfrunloop(void)
{
if (sounds_list != nil && [sounds_list count] > 0)
{
@@ -493,7 +493,7 @@ sound_mch_stop(long sound_id)
}
void
-sound_mch_clear()
+sound_mch_clear(void)
{
if (sounds_list != nil)
{
@@ -510,7 +510,7 @@ sound_mch_clear()
}
void
-sound_mch_free()
+sound_mch_free(void)
{
sound_mch_clear();
}