1
0
Fork 0

Fix functions with empty params (#19647)

* Fix functions with empty params

* Found a bunch more
This commit is contained in:
Ryan 2023-01-21 03:21:17 +11:00 committed by GitHub
parent 0f77ae6a20
commit cf935d97ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 276 additions and 276 deletions

View file

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

View file

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