0
0
mirror of https://github.com/vim/vim.git synced 2025-11-01 10:07:16 -04:00

patch 9.0.1471: warnings for function declarations

Problem:    Warnings for function declarations.
Solution:   Add argument types. (Michael Jarvis, closes #12277)
This commit is contained in:
Michael Jarvis
2023-04-19 20:28:48 +01:00
committed by Bram Moolenaar
parent 1be4b81bfb
commit be9624eb47
5 changed files with 24 additions and 22 deletions

View File

@@ -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();
}