Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
@@ -112,7 +112,7 @@ static bool audio_initialized = false;
|
||||
static bool audio_driver_stopped = true;
|
||||
audio_config_t audio_config;
|
||||
|
||||
void audio_init() {
|
||||
void audio_init(void) {
|
||||
if (audio_initialized) {
|
||||
return;
|
||||
}
|
||||
@@ -185,7 +185,7 @@ bool audio_is_on(void) {
|
||||
return (audio_config.enable != 0);
|
||||
}
|
||||
|
||||
void audio_stop_all() {
|
||||
void audio_stop_all(void) {
|
||||
if (audio_driver_stopped) {
|
||||
return;
|
||||
}
|
||||
|
@@ -36,11 +36,11 @@ void set_voice(voice_type v) {
|
||||
voice = v;
|
||||
}
|
||||
|
||||
void voice_iterate() {
|
||||
void voice_iterate(void) {
|
||||
voice = (voice + 1) % number_of_voices;
|
||||
}
|
||||
|
||||
void voice_deiterate() {
|
||||
void voice_deiterate(void) {
|
||||
voice = (voice - 1 + number_of_voices) % number_of_voices;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user