summaryrefslogtreecommitdiff
path: root/quantum/audio
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-01-21 03:21:17 +1100
committerGitHub <noreply@github.com>2023-01-20 16:21:17 +0000
commitcf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch)
treecb7dc41b774171ce7036f963941ce801e868d8cd /quantum/audio
parent0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff)
Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
Diffstat (limited to 'quantum/audio')
-rw-r--r--quantum/audio/audio.c4
-rw-r--r--quantum/audio/voices.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c
index c6523b908c..ca78a483ad 100644
--- a/quantum/audio/audio.c
+++ b/quantum/audio/audio.c
@@ -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;
}
diff --git a/quantum/audio/voices.c b/quantum/audio/voices.c
index 1c08a3af36..01f257f4d4 100644
--- a/quantum/audio/voices.c
+++ b/quantum/audio/voices.c
@@ -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;
}