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
170 changed files with 276 additions and 276 deletions

View File

@ -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();