diff options
author | Ryan <fauxpark@gmail.com> | 2023-01-21 03:21:17 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 16:21:17 +0000 |
commit | cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch) | |
tree | cb7dc41b774171ce7036f963941ce801e868d8cd /quantum/quantum.c | |
parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 0fe54c60a7..0e69246f41 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -454,10 +454,10 @@ void update_tri_layer(uint8_t layer1, uint8_t layer2, uint8_t layer3) { } // TODO: remove legacy api -void matrix_init_quantum() { +void matrix_init_quantum(void) { matrix_init_kb(); } -void matrix_scan_quantum() { +void matrix_scan_quantum(void) { matrix_scan_kb(); } @@ -465,9 +465,9 @@ void matrix_scan_quantum() { // Override these functions in your keymap file to play different tunes on // different events such as startup and bootloader jump -__attribute__((weak)) void startup_user() {} +__attribute__((weak)) void startup_user(void) {} -__attribute__((weak)) void shutdown_user() {} +__attribute__((weak)) void shutdown_user(void) {} void suspend_power_down_quantum(void) { suspend_power_down_kb(); |