Mercurial > vim
comparison src/os_macosx.m @ 32280:ca4e81de477a v9.0.1471
patch 9.0.1471: warnings for function declarations
Commit: https://github.com/vim/vim/commit/be9624eb47ff4db4f068c65ad9cd37b14d1818a8
Author: Michael Jarvis <michael@jarvis.com>
Date: Wed Apr 19 20:28:48 2023 +0100
patch 9.0.1471: warnings for function declarations
Problem: Warnings for function declarations.
Solution: Add argument types. (Michael Jarvis, closes https://github.com/vim/vim/issues/12277)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Apr 2023 21:30:03 +0200 |
parents | 360f286b5869 |
children |
comparison
equal
deleted
inserted
replaced
32279:ab1395da719e | 32280:ca4e81de477a |
---|---|
428 [self release]; | 428 [self release]; |
429 } | 429 } |
430 @end | 430 @end |
431 | 431 |
432 void | 432 void |
433 process_cfrunloop() | 433 process_cfrunloop(void) |
434 { | 434 { |
435 if (sounds_list != nil && [sounds_list count] > 0) | 435 if (sounds_list != nil && [sounds_list count] > 0) |
436 { | 436 { |
437 // Continually drain the run loop of events. Currently, this | 437 // Continually drain the run loop of events. Currently, this |
438 // is only used for processing sound callbacks, because | 438 // is only used for processing sound callbacks, because |
491 } | 491 } |
492 } | 492 } |
493 } | 493 } |
494 | 494 |
495 void | 495 void |
496 sound_mch_clear() | 496 sound_mch_clear(void) |
497 { | 497 { |
498 if (sounds_list != nil) | 498 if (sounds_list != nil) |
499 { | 499 { |
500 @autoreleasepool | 500 @autoreleasepool |
501 { | 501 { |
508 } | 508 } |
509 } | 509 } |
510 } | 510 } |
511 | 511 |
512 void | 512 void |
513 sound_mch_free() | 513 sound_mch_free(void) |
514 { | 514 { |
515 sound_mch_clear(); | 515 sound_mch_clear(); |
516 } | 516 } |
517 | 517 |
518 #endif // FEAT_SOUND | 518 #endif // FEAT_SOUND |