summaryrefslogtreecommitdiffstats
path: root/quantum/audio
diff options
context:
space:
mode:
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;
}