summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/40percentclub/gherkin/keymaps/mjt/keymap.c4
-rw-r--r--keyboards/40percentclub/gherkin/keymaps/steno/keymap.c2
-rw-r--r--keyboards/40percentclub/mf68/keymaps/delivrance/keymap.c2
-rw-r--r--keyboards/40percentclub/ut47/ut47.c2
-rw-r--r--keyboards/annepro2/annepro2.c2
-rw-r--r--keyboards/annepro2/ap2_led.c12
-rwxr-xr-xkeyboards/bemeier/bmek/bmek.c2
-rw-r--r--keyboards/bpiphany/frosty_flake/20130602/20130602.c2
-rw-r--r--keyboards/bpiphany/frosty_flake/20140521/20140521.c2
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction75.c4
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c10
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction_oled.c4
-rw-r--r--keyboards/capsunlocked/cu75/cu75.c2
-rw-r--r--keyboards/converter/adb_usb/adb.c6
-rw-r--r--keyboards/converter/hp_46010a/matrix.c2
-rw-r--r--keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c2
-rw-r--r--keyboards/converter/m0110_usb/m0110.c12
-rw-r--r--keyboards/crkbd/keymaps/jpe230/oled/avr/master/oled_master_handler.c2
-rw-r--r--keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c2
-rw-r--r--keyboards/crkbd/keymaps/jpe230/oled/oled_handler.c2
-rw-r--r--keyboards/crkbd/keymaps/jpe230/oled/rp2040/master/oled_master_handler.c2
-rw-r--r--keyboards/crkbd/keymaps/jpe230/oled/rp2040/slave/oled_slave_handler.c2
-rw-r--r--keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c2
-rw-r--r--keyboards/dp60/matrix.c2
-rw-r--r--keyboards/duck/jetfire/jetfire.c2
-rw-r--r--keyboards/duck/lightsaver/matrix.c2
-rw-r--r--keyboards/dumbpad/v0x/v0x.c2
-rw-r--r--keyboards/dumbpad/v0x_dualencoder/v0x_dualencoder.c2
-rw-r--r--keyboards/dumbpad/v0x_right/v0x_right.c2
-rw-r--r--keyboards/dumbpad/v1x/v1x.c2
-rw-r--r--keyboards/dumbpad/v1x_dualencoder/v1x_dualencoder.c2
-rw-r--r--keyboards/dumbpad/v1x_right/v1x_right.c2
-rw-r--r--keyboards/dumbpad/v3x/v3x.c2
-rw-r--r--keyboards/dz60/keymaps/marianas/relativity.c4
-rw-r--r--keyboards/eco/keymaps/that_canadian/keymap.c4
-rw-r--r--keyboards/eyeohdesigns/babyv/keymaps/bghull/keymap.c2
-rw-r--r--keyboards/gboards/butterstick/sten.c2
-rw-r--r--keyboards/gboards/engine/engine.c4
-rw-r--r--keyboards/gboards/g/engine.c4
-rw-r--r--keyboards/gboards/georgi/sten.c2
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/keymap.c4
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/byungyoonc/keymap.c6
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/hachetman/keymap.c6
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c4
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/macos/keymap.c4
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/encoder.c6
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/process_record.c2
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/rgb_matrix_ledmaps.c4
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/utils.c2
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/stickandgum/keymap.c8
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c8
-rw-r--r--keyboards/hadron/ver2/keymaps/side_numpad/keymap.c4
-rw-r--r--keyboards/handwired/atreus50/keymaps/default/keymap.c4
-rw-r--r--keyboards/handwired/jotanck/jotanck.c2
-rw-r--r--keyboards/handwired/jotpad16/jotpad16.c2
-rw-r--r--keyboards/handwired/jscotto/scotto36/keymaps/default/keymap.c2
-rw-r--r--keyboards/handwired/jscotto/scottocmd/keymaps/default/keymap.c2
-rw-r--r--keyboards/handwired/onekey/keymaps/digitizer/keymap.c2
-rw-r--r--keyboards/handwired/onekey/keymaps/joystick/keymap.c2
-rw-r--r--keyboards/handwired/ortho5x13/keymaps/default/keymap.c4
-rw-r--r--keyboards/handwired/promethium/keymaps/default/keymap.c6
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/keymap.c6
-rw-r--r--keyboards/helix/pico/keymaps/default/keymap.c4
-rw-r--r--keyboards/helix/pico/keymaps/mtei/keymap.c4
-rw-r--r--keyboards/helix/rev2/keymaps/default/keymap.c4
-rw-r--r--keyboards/helix/rev2/keymaps/froggy/keymap.c4
-rw-r--r--keyboards/helix/rev2/keymaps/yshrsmz/keymap.c4
-rw-r--r--keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c2
-rw-r--r--keyboards/input_club/ergodox_infinity/ergodox_infinity.c2
-rw-r--r--keyboards/input_club/ergodox_infinity/keymaps/dudeofawesome/keymap.c2
-rw-r--r--keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c2
-rw-r--r--keyboards/jels/jels88/jels88.c2
-rw-r--r--keyboards/kbdfans/niu_mini/keymaps/yttyx/keymap.c2
-rw-r--r--keyboards/keebio/iris/keymaps/edvorakjp/keymap.c2
-rw-r--r--keyboards/keebio/levinson/keymaps/steno/keymap.c2
-rw-r--r--keyboards/knops/mini/keymaps/mverteuil/keymap.c2
-rw-r--r--keyboards/lazydesigners/dimple/staggered/staggered.c4
-rw-r--r--keyboards/lazydesigners/the50/the50.c4
-rw-r--r--keyboards/lfkeyboards/TWIlib.c4
-rw-r--r--keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c2
-rw-r--r--keyboards/lfkeyboards/lfk78/lfk78.c2
-rw-r--r--keyboards/lfkeyboards/lfk87/lfk87.c2
-rw-r--r--keyboards/lfkeyboards/lighting.c4
-rw-r--r--keyboards/lfkeyboards/mini1800/mini1800.c2
-rw-r--r--keyboards/lfkeyboards/smk65/revb/revb.c2
-rw-r--r--keyboards/macrocat/macrocat.c4
-rw-r--r--keyboards/makeymakey/makeymakey.c2
-rw-r--r--keyboards/matrix/noah/keymaps/blockader/keymap.c2
-rw-r--r--keyboards/mechwild/bbs/bbs.c2
-rw-r--r--keyboards/nek_type_a/mcp23017.c4
-rwxr-xr-xkeyboards/neopad/rev1/rev1.c2
-rw-r--r--keyboards/opendeck/32/rev1/rev1.c2
-rw-r--r--keyboards/planck/keymaps/circuit/keymap.c4
-rw-r--r--keyboards/planck/keymaps/dbroqua/keymap.c4
-rw-r--r--keyboards/planck/keymaps/dcompact/keymap.c2
-rw-r--r--keyboards/planck/keymaps/dr_notsokind/keymap.c4
-rw-r--r--keyboards/planck/keymaps/emilyh/keymap.c4
-rw-r--r--keyboards/planck/keymaps/experimental/keymap.c4
-rw-r--r--keyboards/planck/keymaps/gunp/keymap.c4
-rw-r--r--keyboards/planck/keymaps/handwired_binaryplease/keymap.c4
-rw-r--r--keyboards/planck/keymaps/impossible/keymap.c4
-rw-r--r--keyboards/planck/keymaps/ishtob/keymap.c4
-rw-r--r--keyboards/planck/keymaps/jhenahan/keymap.c4
-rw-r--r--keyboards/planck/keymaps/lae3/keymap.c4
-rw-r--r--keyboards/planck/keymaps/mjt/keymap.c4
-rw-r--r--keyboards/planck/keymaps/mjtnumsym/keymap.c4
-rw-r--r--keyboards/planck/keymaps/originerd/keymap.c4
-rw-r--r--keyboards/planck/keymaps/premek/keymap.c4
-rw-r--r--keyboards/planck/keymaps/sgoodwin/keymap.c4
-rw-r--r--keyboards/planck/keymaps/smt/keymap.c4
-rw-r--r--keyboards/planck/keymaps/that_canadian/keymap.c4
-rw-r--r--keyboards/planck/keymaps/vaire/keymap.c4
-rw-r--r--keyboards/planck/keymaps/yttyx/keymap.c2
-rw-r--r--keyboards/planck/keymaps/zach/zach_common_functions.c2
-rw-r--r--keyboards/preonic/keymaps/0xdec/keymap.c4
-rw-r--r--keyboards/preonic/keymaps/bucktooth/keymap.c4
-rw-r--r--keyboards/preonic/keymaps/jacwib/keymap.c4
-rw-r--r--keyboards/preonic/keymaps/mverteuil/keymap.c2
-rw-r--r--keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c2
-rw-r--r--keyboards/preonic/keymaps/nikchi/keymap.c4
-rw-r--r--keyboards/preonic/keymaps/smt/keymap.c4
-rw-r--r--keyboards/preonic/keymaps/that_canadian/keymap.c4
-rw-r--r--keyboards/preonic/keymaps/trigotometry/keymap.c2
-rw-r--r--keyboards/preonic/keymaps/zach/zach_common_functions.c2
-rw-r--r--keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c2
-rw-r--r--keyboards/rgbkb/sol3/rev1/rev1.c2
-rw-r--r--keyboards/sekigon/grs_70ec/grs_70ec.c2
-rw-r--r--keyboards/sneakbox/aliceclone/aliceclone.c2
-rw-r--r--keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c2
-rw-r--r--keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c2
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c2
-rw-r--r--keyboards/wilba_tech/wt65_xt/keymaps/zunger/keymap.c2
-rw-r--r--keyboards/wilba_tech/wt70_jb/wt70_jb.c2
-rwxr-xr-xkeyboards/woodkeys/meira/TWIlib.c4
-rwxr-xr-xkeyboards/woodkeys/meira/lighting.c4
-rw-r--r--keyboards/woodkeys/meira/meira.c2
-rw-r--r--keyboards/xiudi/xd75/keymaps/colinta/keymap.c2
-rw-r--r--keyboards/xiudi/xd96/keymaps/uuupah/keymap.c2
138 files changed, 222 insertions, 222 deletions
diff --git a/keyboards/40percentclub/gherkin/keymaps/mjt/keymap.c b/keyboards/40percentclub/gherkin/keymaps/mjt/keymap.c
index 312fbfaf57..40c11739fb 100644
--- a/keyboards/40percentclub/gherkin/keymaps/mjt/keymap.c
+++ b/keyboards/40percentclub/gherkin/keymaps/mjt/keymap.c
@@ -174,13 +174,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/40percentclub/gherkin/keymaps/steno/keymap.c b/keyboards/40percentclub/gherkin/keymaps/steno/keymap.c
index c7ee63d126..5f78ba1cde 100644
--- a/keyboards/40percentclub/gherkin/keymaps/steno/keymap.c
+++ b/keyboards/40percentclub/gherkin/keymaps/steno/keymap.c
@@ -8,6 +8,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
STN_NUM, STN_NUM, STN_A, STN_O, STN_NUM, STN_E, STN_U, STN_NUM, STN_NUM, STN_NUM),
};
-void matrix_init_user() {
+void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
} \ No newline at end of file
diff --git a/keyboards/40percentclub/mf68/keymaps/delivrance/keymap.c b/keyboards/40percentclub/mf68/keymaps/delivrance/keymap.c
index ed98d947e5..8d69a5a8af 100644
--- a/keyboards/40percentclub/mf68/keymaps/delivrance/keymap.c
+++ b/keyboards/40percentclub/mf68/keymaps/delivrance/keymap.c
@@ -197,7 +197,7 @@ void led_set_user(uint8_t usb_led) {
static uint32_t timer;
static bool is_idle;
-void matrix_scan_user() {
+void matrix_scan_user(void) {
// Check the timer only if the keyboard is not idle
if (!is_idle) {
if (timer_elapsed32(timer) >= (uint32_t) BACKLIGHT_IDLE_TIMEOUT * 1000) {
diff --git a/keyboards/40percentclub/ut47/ut47.c b/keyboards/40percentclub/ut47/ut47.c
index 864edaeb57..9d46a4679d 100644
--- a/keyboards/40percentclub/ut47/ut47.c
+++ b/keyboards/40percentclub/ut47/ut47.c
@@ -17,7 +17,7 @@
#ifdef LED_ENABLE
#include "uart.h"
-void matrix_init_kb() {
+void matrix_init_kb(void) {
uart_init(9600);
}
#endif
diff --git a/keyboards/annepro2/annepro2.c b/keyboards/annepro2/annepro2.c
index f4ced65436..e1292b3517 100644
--- a/keyboards/annepro2/annepro2.c
+++ b/keyboards/annepro2/annepro2.c
@@ -111,7 +111,7 @@ void keyboard_post_init_kb(void) {
keyboard_post_init_user();
}
-void matrix_scan_kb() {
+void matrix_scan_kb(void) {
// if there's stuff on the ble serial buffer
// read it into the capslock struct
while (!sdGetWouldBlock(&SD1)) {
diff --git a/keyboards/annepro2/ap2_led.c b/keyboards/annepro2/ap2_led.c
index 339df103bf..c1d7c8166e 100644
--- a/keyboards/annepro2/ap2_led.c
+++ b/keyboards/annepro2/ap2_led.c
@@ -60,15 +60,15 @@ void ap2_led_enable(void) { proto_tx(CMD_LED_ON, NULL, 0, 3); }
void ap2_led_set_profile(uint8_t prof) { proto_tx(CMD_LED_SET_PROFILE, &prof, sizeof(prof), 3); }
-void ap2_led_get_status() { proto_tx(CMD_LED_GET_STATUS, NULL, 0, 3); }
+void ap2_led_get_status(void) { proto_tx(CMD_LED_GET_STATUS, NULL, 0, 3); }
-void ap2_led_next_profile() { proto_tx(CMD_LED_NEXT_PROFILE, NULL, 0, 3); }
+void ap2_led_next_profile(void) { proto_tx(CMD_LED_NEXT_PROFILE, NULL, 0, 3); }
-void ap2_led_next_intensity() { proto_tx(CMD_LED_NEXT_INTENSITY, NULL, 0, 3); }
+void ap2_led_next_intensity(void) { proto_tx(CMD_LED_NEXT_INTENSITY, NULL, 0, 3); }
-void ap2_led_next_animation_speed() { proto_tx(CMD_LED_NEXT_ANIMATION_SPEED, NULL, 0, 3); }
+void ap2_led_next_animation_speed(void) { proto_tx(CMD_LED_NEXT_ANIMATION_SPEED, NULL, 0, 3); }
-void ap2_led_prev_profile() { proto_tx(CMD_LED_PREV_PROFILE, NULL, 0, 3); }
+void ap2_led_prev_profile(void) { proto_tx(CMD_LED_PREV_PROFILE, NULL, 0, 3); }
void ap2_led_mask_set_key(uint8_t row, uint8_t col, ap2_led_t color) {
uint8_t payload[] = {row, col, color.p.blue, color.p.green, color.p.red, color.p.alpha};
@@ -127,7 +127,7 @@ void ap2_led_set_foreground_color(uint8_t red, uint8_t green, uint8_t blue) {
ap2_led_mask_set_mono(color);
}
-void ap2_led_reset_foreground_color() {
+void ap2_led_reset_foreground_color(void) {
ap2_led_t color = {
.p.red = 0,
.p.green = 0,
diff --git a/keyboards/bemeier/bmek/bmek.c b/keyboards/bemeier/bmek/bmek.c
index 47e8742695..31209fdca2 100755
--- a/keyboards/bemeier/bmek/bmek.c
+++ b/keyboards/bemeier/bmek/bmek.c
@@ -16,7 +16,7 @@
#include "bmek.h"
__attribute__((weak))
-void shutdown_user() {
+void shutdown_user(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_setrgb(255, 0, 0);
#endif
diff --git a/keyboards/bpiphany/frosty_flake/20130602/20130602.c b/keyboards/bpiphany/frosty_flake/20130602/20130602.c
index 2c875d1a7f..2c8e7517b9 100644
--- a/keyboards/bpiphany/frosty_flake/20130602/20130602.c
+++ b/keyboards/bpiphany/frosty_flake/20130602/20130602.c
@@ -1,6 +1,6 @@
#include "frosty_flake.h"
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
setPinOutput(B7); // caps lock
writePinHigh(B7);
setPinOutput(C5); // num lock
diff --git a/keyboards/bpiphany/frosty_flake/20140521/20140521.c b/keyboards/bpiphany/frosty_flake/20140521/20140521.c
index be4e1a3124..65c40ab86e 100644
--- a/keyboards/bpiphany/frosty_flake/20140521/20140521.c
+++ b/keyboards/bpiphany/frosty_flake/20140521/20140521.c
@@ -1,6 +1,6 @@
#include "frosty_flake.h"
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
setPinOutput(B7); // num lock
writePinHigh(B7);
setPinOutput(C5); // caps lock
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.c b/keyboards/cannonkeys/satisfaction75/satisfaction75.c
index 13b44b85db..ce870c49af 100644
--- a/keyboards/cannonkeys/satisfaction75/satisfaction75.c
+++ b/keyboards/cannonkeys/satisfaction75/satisfaction75.c
@@ -361,11 +361,11 @@ void custom_config_reset(void){
eeprom_update_byte((uint8_t*)EEPROM_ENABLED_ENCODER_MODES, 0x1F);
}
-void backlight_config_save(){
+void backlight_config_save(void){
eeprom_update_byte((uint8_t*)EEPROM_CUSTOM_BACKLIGHT, kb_backlight_config.raw);
}
-void custom_config_load(){
+void custom_config_load(void){
kb_backlight_config.raw = eeprom_read_byte((uint8_t*)EEPROM_CUSTOM_BACKLIGHT);
#ifdef DYNAMIC_KEYMAP_ENABLE
oled_mode = eeprom_read_byte((uint8_t*)EEPROM_DEFAULT_OLED);
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c b/keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c
index c40815a8d8..c8bb999df4 100644
--- a/keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c
+++ b/keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c
@@ -1,7 +1,7 @@
#include "satisfaction75.h"
#include "eeprom.h"
-void pre_encoder_mode_change(){
+void pre_encoder_mode_change(void){
if(encoder_mode == ENC_MODE_CLOCK_SET){
RTCDateTime timespec;
timespec.year = year_config;
@@ -16,7 +16,7 @@ void pre_encoder_mode_change(){
}
}
-void post_encoder_mode_change(){
+void post_encoder_mode_change(void){
if(encoder_mode == ENC_MODE_CLOCK_SET){
hour_config = (last_minute / 60);
minute_config = last_minute % 60;
@@ -86,7 +86,7 @@ void update_time_config(int8_t increment){
}
}
-uint16_t handle_encoder_clockwise(){
+uint16_t handle_encoder_clockwise(void){
uint16_t mapped_code = 0;
switch(encoder_mode){
default:
@@ -130,7 +130,7 @@ uint16_t handle_encoder_clockwise(){
return mapped_code;
}
-uint16_t handle_encoder_ccw(){
+uint16_t handle_encoder_ccw(void){
uint16_t mapped_code = 0;
switch(encoder_mode){
default:
@@ -175,7 +175,7 @@ uint16_t handle_encoder_ccw(){
return mapped_code;
}
-uint16_t handle_encoder_press(){
+uint16_t handle_encoder_press(void){
uint16_t mapped_code = 0;
switch(encoder_mode){
case ENC_MODE_VOLUME:
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c b/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
index 1e8465387c..0fd69ca59b 100644
--- a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
+++ b/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
@@ -168,7 +168,7 @@ static char* get_date(void) {
return date_str;
}
-void draw_default() {
+void draw_default(void) {
oled_write_P(PSTR("LAYER "), false);
oled_write_char(get_highest_layer(layer_state) + 0x30, true);
@@ -220,7 +220,7 @@ void draw_default() {
draw_line_v(71, 0, 8);
}
-void draw_clock() {
+void draw_clock(void) {
oled_set_cursor(0, 0);
oled_write(get_date(), false);
oled_set_cursor(0, 2);
diff --git a/keyboards/capsunlocked/cu75/cu75.c b/keyboards/capsunlocked/cu75/cu75.c
index 690d72055a..fff0c10ef6 100644
--- a/keyboards/capsunlocked/cu75/cu75.c
+++ b/keyboards/capsunlocked/cu75/cu75.c
@@ -98,7 +98,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
return process_record_user(keycode, record);
}
-void reset_keyboard_kb(){
+void reset_keyboard_kb(void){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/converter/adb_usb/adb.c b/keyboards/converter/adb_usb/adb.c
index 28f14c9fe8..c05bbb53ca 100644
--- a/keyboards/converter/adb_usb/adb.c
+++ b/keyboards/converter/adb_usb/adb.c
@@ -238,15 +238,15 @@ void adb_host_kbd_led(uint8_t led) {
}
#ifdef ADB_PSW_BIT
-static inline void psw_lo() {
+static inline void psw_lo(void) {
ADB_DDR |= (1 << ADB_PSW_BIT);
ADB_PORT &= ~(1 << ADB_PSW_BIT);
}
-static inline void psw_hi() {
+static inline void psw_hi(void) {
ADB_PORT |= (1 << ADB_PSW_BIT);
ADB_DDR &= ~(1 << ADB_PSW_BIT);
}
-static inline bool psw_in() {
+static inline bool psw_in(void) {
ADB_PORT |= (1 << ADB_PSW_BIT);
ADB_DDR &= ~(1 << ADB_PSW_BIT);
return ADB_PIN & (1 << ADB_PSW_BIT);
diff --git a/keyboards/converter/hp_46010a/matrix.c b/keyboards/converter/hp_46010a/matrix.c
index 03fcb2424f..eafe320a3d 100644
--- a/keyboards/converter/hp_46010a/matrix.c
+++ b/keyboards/converter/hp_46010a/matrix.c
@@ -145,7 +145,7 @@ void Matrix_ThrowByte(void) {
return ;
}
-void matrix_init () {
+void matrix_init (void) {
// debug_matrix = 1;
// PB0 (SS) and PB1 (SCLK) set to outputs
DDRB |= RESET | SCLK ;
diff --git a/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c b/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c
index f16b349664..0e11fa6779 100644
--- a/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c
+++ b/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c
@@ -297,6 +297,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-void matrix_init_user() {
+void matrix_init_user(void) {
set_unicode_input_mode(UNICODE_MODE_LINUX);
}
diff --git a/keyboards/converter/m0110_usb/m0110.c b/keyboards/converter/m0110_usb/m0110.c
index 64f2fa50ab..f3097fb465 100644
--- a/keyboards/converter/m0110_usb/m0110.c
+++ b/keyboards/converter/m0110_usb/m0110.c
@@ -318,31 +318,31 @@ static inline uint8_t instant(void) {
return data;
}
-static inline void clock_lo() {
+static inline void clock_lo(void) {
M0110_CLOCK_PORT &= ~(1 << M0110_CLOCK_BIT);
M0110_CLOCK_DDR |= (1 << M0110_CLOCK_BIT);
}
-static inline void clock_hi() {
+static inline void clock_hi(void) {
/* input with pull up */
M0110_CLOCK_DDR &= ~(1 << M0110_CLOCK_BIT);
M0110_CLOCK_PORT |= (1 << M0110_CLOCK_BIT);
}
-static inline bool clock_in() {
+static inline bool clock_in(void) {
M0110_CLOCK_DDR &= ~(1 << M0110_CLOCK_BIT);
M0110_CLOCK_PORT |= (1 << M0110_CLOCK_BIT);
_delay_us(1);
return M0110_CLOCK_PIN & (1 << M0110_CLOCK_BIT);
}
-static inline void data_lo() {
+static inline void data_lo(void) {
M0110_DATA_PORT &= ~(1 << M0110_DATA_BIT);
M0110_DATA_DDR |= (1 << M0110_DATA_BIT);
}
-static inline void data_hi() {
+static inline void data_hi(void) {
/* input with pull up */
M0110_DATA_DDR &= ~(1 << M0110_DATA_BIT);
M0110_DATA_PORT |= (1 << M0110_DATA_BIT);
}
-static inline bool data_in() {
+static inline bool data_in(void) {
M0110_DATA_DDR &= ~(1 << M0110_DATA_BIT);
M0110_DATA_PORT |= (1 << M0110_DATA_BIT);
_delay_us(1);
diff --git a/keyboards/crkbd/keymaps/jpe230/oled/avr/master/oled_master_handler.c b/keyboards/crkbd/keymaps/jpe230/oled/avr/master/oled_master_handler.c
index 9a75e9fa9a..f0f6f3f62f 100644
--- a/keyboards/crkbd/keymaps/jpe230/oled/avr/master/oled_master_handler.c
+++ b/keyboards/crkbd/keymaps/jpe230/oled/avr/master/oled_master_handler.c
@@ -63,7 +63,7 @@ void oled_render_keylog(void) {
oled_write((const char *)&logged_char, false);
}
-void render_master_oled() {
+void render_master_oled(void) {
if (timer_elapsed32(oled_timer) > CUSTOM_OLED_TIMEOUT) {
oled_off();
return;
diff --git a/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c b/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
index 159413d083..c47fb2a07b 100644
--- a/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
+++ b/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
@@ -3,7 +3,7 @@
#include "jpe230.h"
-void render_slave_oled() {
+void render_slave_oled(void) {
static const char PROGMEM crkbd_logo[] = {
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4,
diff --git a/keyboards/crkbd/keymaps/jpe230/oled/oled_handler.c b/keyboards/crkbd/keymaps/jpe230/oled/oled_handler.c
index 67861e5b27..9e130dae38 100644
--- a/keyboards/crkbd/keymaps/jpe230/oled/oled_handler.c
+++ b/keyboards/crkbd/keymaps/jpe230/oled/oled_handler.c
@@ -12,7 +12,7 @@ __attribute__ ((weak)) void handle_oled_keypress(uint16_t keycode, keyrecord_t *
__attribute__ ((weak)) oled_rotation_t rotate_master(oled_rotation_t rotation) {return rotation;}
__attribute__ ((weak)) oled_rotation_t rotate_slave(oled_rotation_t rotation) {return rotation;}
-void oled_timer_reset() { oled_timer = timer_read32(); }
+void oled_timer_reset(void) { oled_timer = timer_read32(); }
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
diff --git a/keyboards/crkbd/keymaps/jpe230/oled/rp2040/master/oled_master_handler.c b/keyboards/crkbd/keymaps/jpe230/oled/rp2040/master/oled_master_handler.c
index a2230e5ee1..ffd3edb792 100644
--- a/keyboards/crkbd/keymaps/jpe230/oled/rp2040/master/oled_master_handler.c
+++ b/keyboards/crkbd/keymaps/jpe230/oled/rp2040/master/oled_master_handler.c
@@ -40,7 +40,7 @@ void oled_render_layer_state(void) {
}
-void render_master_oled() {
+void render_master_oled(void) {
if (timer_elapsed32(oled_timer) > CUSTOM_OLED_TIMEOUT) {
oled_off();
return;
diff --git a/keyboards/crkbd/keymaps/jpe230/oled/rp2040/slave/oled_slave_handler.c b/keyboards/crkbd/keymaps/jpe230/oled/rp2040/slave/oled_slave_handler.c
index ef38fd8c44..31166b3b43 100644
--- a/keyboards/crkbd/keymaps/jpe230/oled/rp2040/slave/oled_slave_handler.c
+++ b/keyboards/crkbd/keymaps/jpe230/oled/rp2040/slave/oled_slave_handler.c
@@ -4,7 +4,7 @@
#include "jpe230.h"
#include "ocean_dream.h"
-void render_slave_oled() {
+void render_slave_oled(void) {
render_stars();
}
diff --git a/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c b/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c
index 00b144a2f4..2ee5fa34c0 100644
--- a/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c
+++ b/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c
@@ -147,7 +147,7 @@ void keyboard_post_init_user(void) {
do_rgb_layers(layer_state, LAYER_BASE, LAYER_BASE_END);
}
-void shutdown_user() {
+void shutdown_user(void) {
clear_rgb_layers();
rgblight_enable();
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
diff --git a/keyboards/dp60/matrix.c b/keyboards/dp60/matrix.c
index a9974757dd..dbcc68056d 100644
--- a/keyboards/dp60/matrix.c
+++ b/keyboards/dp60/matrix.c
@@ -123,7 +123,7 @@ static void init_rows(void)
setPinInputHigh(D4);
}
-static uint8_t read_rows()
+static uint8_t read_rows(void)
{
return ((readPin(E6) ? 0 : (1 << 0)) |
(readPin(F6) ? 0 : (1 << 1)) |
diff --git a/keyboards/duck/jetfire/jetfire.c b/keyboards/duck/jetfire/jetfire.c
index 7bebd7ad21..d42cb22ff3 100644
--- a/keyboards/duck/jetfire/jetfire.c
+++ b/keyboards/duck/jetfire/jetfire.c
@@ -76,7 +76,7 @@ void backlight_set(uint8_t level)
backlight_toggle_rgb(level & BACKLIGHT_RGB);
}
-void backlight_update_state()
+void backlight_update_state(void)
{
cli();
send_color(backlight_state_led & (1<<STATE_LED_SCROLL_LOCK) ? 255 : 0,
diff --git a/keyboards/duck/lightsaver/matrix.c b/keyboards/duck/lightsaver/matrix.c
index 066452724f..c65b6aa6c4 100644
--- a/keyboards/duck/lightsaver/matrix.c
+++ b/keyboards/duck/lightsaver/matrix.c
@@ -138,7 +138,7 @@ static void init_rows(void) {
PORTE |= 0b00000100;
}
-static uint8_t read_rows() {
+static uint8_t read_rows(void) {
return (PINB&(1<<7) ? (1<<0) : 0) |
(PIND&(1<<0) ? (1<<1) : 0) |
(PIND&(1<<1) ? (1<<2) : 0) |
diff --git a/keyboards/dumbpad/v0x/v0x.c b/keyboards/dumbpad/v0x/v0x.c
index b981c3769f..a225a2641c 100644
--- a/keyboards/dumbpad/v0x/v0x.c
+++ b/keyboards/dumbpad/v0x/v0x.c
@@ -22,7 +22,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dumbpad/v0x_dualencoder/v0x_dualencoder.c b/keyboards/dumbpad/v0x_dualencoder/v0x_dualencoder.c
index 9b2a2cd241..8f571ca306 100644
--- a/keyboards/dumbpad/v0x_dualencoder/v0x_dualencoder.c
+++ b/keyboards/dumbpad/v0x_dualencoder/v0x_dualencoder.c
@@ -22,7 +22,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dumbpad/v0x_right/v0x_right.c b/keyboards/dumbpad/v0x_right/v0x_right.c
index 2a987b2eaa..c5c0d670c6 100644
--- a/keyboards/dumbpad/v0x_right/v0x_right.c
+++ b/keyboards/dumbpad/v0x_right/v0x_right.c
@@ -22,7 +22,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dumbpad/v1x/v1x.c b/keyboards/dumbpad/v1x/v1x.c
index 4f4df5ece2..1a1eb1e9c5 100644
--- a/keyboards/dumbpad/v1x/v1x.c
+++ b/keyboards/dumbpad/v1x/v1x.c
@@ -23,7 +23,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dumbpad/v1x_dualencoder/v1x_dualencoder.c b/keyboards/dumbpad/v1x_dualencoder/v1x_dualencoder.c
index a727a257b2..33a8679985 100644
--- a/keyboards/dumbpad/v1x_dualencoder/v1x_dualencoder.c
+++ b/keyboards/dumbpad/v1x_dualencoder/v1x_dualencoder.c
@@ -23,7 +23,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dumbpad/v1x_right/v1x_right.c b/keyboards/dumbpad/v1x_right/v1x_right.c
index b0b3f473df..2a2da68d5c 100644
--- a/keyboards/dumbpad/v1x_right/v1x_right.c
+++ b/keyboards/dumbpad/v1x_right/v1x_right.c
@@ -23,7 +23,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dumbpad/v3x/v3x.c b/keyboards/dumbpad/v3x/v3x.c
index 4a8ba12c47..7af3c4e838 100644
--- a/keyboards/dumbpad/v3x/v3x.c
+++ b/keyboards/dumbpad/v3x/v3x.c
@@ -54,7 +54,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/dz60/keymaps/marianas/relativity.c b/keyboards/dz60/keymaps/marianas/relativity.c
index d2b9393400..f498b86742 100644
--- a/keyboards/dz60/keymaps/marianas/relativity.c
+++ b/keyboards/dz60/keymaps/marianas/relativity.c
@@ -24,7 +24,7 @@ bool tempOff = false;
-void initStringData()
+void initStringData(void)
{
if (macroTaps == 0)
{
@@ -382,7 +382,7 @@ bool processSmartMacroTap(uint16_t kc)
bool shifted = false;
-bool isShifted()
+bool isShifted(void)
{
return shifted;
}
diff --git a/keyboards/eco/keymaps/that_canadian/keymap.c b/keyboards/eco/keymaps/that_canadian/keymap.c
index 6561491b14..0c8b53385d 100644
--- a/keyboards/eco/keymaps/that_canadian/keymap.c
+++ b/keyboards/eco/keymaps/that_canadian/keymap.c
@@ -183,13 +183,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/eyeohdesigns/babyv/keymaps/bghull/keymap.c b/keyboards/eyeohdesigns/babyv/keymaps/bghull/keymap.c
index 21a0200925..38a5770b05 100644
--- a/keyboards/eyeohdesigns/babyv/keymaps/bghull/keymap.c
+++ b/keyboards/eyeohdesigns/babyv/keymaps/bghull/keymap.c
@@ -116,7 +116,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user() {
+void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI);
};
diff --git a/keyboards/gboards/butterstick/sten.c b/keyboards/gboards/butterstick/sten.c
index 8820127848..5d6adcc1d0 100644
--- a/keyboards/gboards/butterstick/sten.c
+++ b/keyboards/gboards/butterstick/sten.c
@@ -370,7 +370,7 @@ void saveState(uint32_t cleanChord) {
for (int i = 0; i < 32; i++)
pChordState[i] = chordState[i];
}
-void restoreState() {
+void restoreState(void) {
cChord = pChord;
chordIndex = pChordIndex;
for (int i = 0; i < 32; i++)
diff --git a/keyboards/gboards/engine/engine.c b/keyboards/gboards/engine/engine.c
index 9094b7905a..7d4cc05e5f 100644
--- a/keyboards/gboards/engine/engine.c
+++ b/keyboards/gboards/engine/engine.c
@@ -53,7 +53,7 @@ bool inMouse = false;
int8_t mousePress;
// All processing done at chordUp goes through here
-void processKeysUp() {
+void processKeysUp(void) {
// Check for mousekeys, this is release
#ifdef MOUSEKEY_ENABLE
if (inMouse) {
@@ -372,7 +372,7 @@ void saveState(C_SIZE cleanChord) {
pChordIndex = chordIndex;
for (int i = 0; i < 32; i++) pChordState[i] = chordState[i];
}
-void restoreState() {
+void restoreState(void) {
cChord = pChord;
chordIndex = pChordIndex;
for (int i = 0; i < 32; i++) chordState[i] = pChordState[i];
diff --git a/keyboards/gboards/g/engine.c b/keyboards/gboards/g/engine.c
index 015b48d38f..7ce18d334e 100644
--- a/keyboards/gboards/g/engine.c
+++ b/keyboards/gboards/g/engine.c
@@ -53,7 +53,7 @@ bool inMouse = false;
int8_t mousePress;
// All processing done at chordUp goes through here
-void processKeysUp() {
+void processKeysUp(void) {
// Check for mousekeys, this is release
#ifdef MOUSEKEY_ENABLE
if (inMouse) {
@@ -377,7 +377,7 @@ void saveState(C_SIZE cleanChord) {
pChordIndex = chordIndex;
for (int i = 0; i < 32; i++) pChordState[i] = chordState[i];
}
-void restoreState() {
+void restoreState(void) {
cChord = pChord;
chordIndex = pChordIndex;
for (int i = 0; i < 32; i++) chordState[i] = pChordState[i];
diff --git a/keyboards/gboards/georgi/sten.c b/keyboards/gboards/georgi/sten.c
index bd96dee758..7318d04af3 100644
--- a/keyboards/gboards/georgi/sten.c
+++ b/keyboards/gboards/georgi/sten.c
@@ -370,7 +370,7 @@ void saveState(uint32_t cleanChord) {
for (int i = 0; i < 32; i++)
pChordState[i] = chordState[i];
}
-void restoreState() {
+void restoreState(void) {
cChord = pChord;
chordIndex = pChordIndex;
for (int i = 0; i < 32; i++)
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/keymap.c
index 8d34d82f64..c7c183e33c 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/keymap.c
@@ -296,7 +296,7 @@ bool rgb_matrix_indicators_user(void) {
return false;
}
-static void start_effects() {
+static void start_effects(void) {
effect_started_time = sync_timer_read();
if (!rgb_matrix_is_enabled()) {
/* Turn it ON, signal the cause (EFFECTS) */
@@ -319,7 +319,7 @@ static void start_effects() {
// 87, led 07 88, led 18
// 91, led 08 92, led 19
-static void set_rgb_caps_leds() {
+static void set_rgb_caps_leds(void) {
rgb_matrix_set_color(0, 0xFF, 0x0, 0x0); // ESC
rgb_matrix_set_color(6, 0xFF, 0x0, 0x0); // F1
rgb_matrix_set_color(12, 0xFF, 0x0, 0x0); // F2
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/byungyoonc/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/byungyoonc/keymap.c
index b0d75a378a..b54f7f404c 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/byungyoonc/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/byungyoonc/keymap.c
@@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
static void set_rgb_caps_leds(void);
-static void set_rgb_caps_leds() {
+static void set_rgb_caps_leds(void) {
rgb_matrix_set_color(73, 0xFF, 0x77, 0x77); // Left side LED 3
rgb_matrix_set_color(74, 0xFF, 0x77, 0x77); // Right side LED 3
rgb_matrix_set_color(76, 0xFF, 0x77, 0x77); // Left side LED 4
@@ -97,14 +97,14 @@ static void set_rgb_nlck_notset_leds(void);
static void set_rgb_wlck_leds(void);
-static void set_rgb_nlck_notset_leds() {
+static void set_rgb_nlck_notset_leds(void) {
rgb_matrix_set_color(67, 0x77, 0x77, 0xFF); // Left side LED 1
rgb_matrix_set_color(68, 0x77, 0x77, 0xFF); // Right side LED 1
rgb_matrix_set_color(70, 0x77, 0x77, 0xFF); // Left side LED 2
rgb_matrix_set_color(71, 0x77, 0x77, 0xFF); // Right side LED 2
}
-static void set_rgb_wlck_leds() {
+static void set_rgb_wlck_leds(void) {
rgb_matrix_set_color(87, 0x77, 0xFF, 0x77); // Left side LED 7
rgb_matrix_set_color(88, 0x77, 0xFF, 0x77); // Right side LED 7
rgb_matrix_set_color(91, 0x77, 0xFF, 0x77); // Left side LED 8
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/hachetman/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/hachetman/keymap.c
index aa1558fd07..3b378ba572 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/hachetman/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/hachetman/keymap.c
@@ -220,7 +220,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
-bool rgb_matrix_indicators_user() {
+bool rgb_matrix_indicators_user(void) {
#if RGB_CONFIRMATION_BLINKING_TIME > 0
if (effect_started_time > 0) {
/* Render blinking EFFECTS */
@@ -262,7 +262,7 @@ bool rgb_matrix_indicators_user() {
}
#if RGB_CONFIRMATION_BLINKING_TIME > 0
-static void start_effects() {
+static void start_effects(void) {
effect_started_time = sync_timer_read();
if (!rgb_matrix_is_enabled()) {
/* Turn it ON, signal the cause (EFFECTS) */
@@ -286,7 +286,7 @@ static void start_effects() {
// 87, led 07 88, led 18
// 91, led 08 92, led 19
-static void set_rgb_caps_leds() {
+static void set_rgb_caps_leds(void) {
rgb_matrix_set_color(67, 0xFF, 0x0, 0x0); // Left side LED 1
rgb_matrix_set_color(68, 0xFF, 0x0, 0x0); // Right side LED 1
rgb_matrix_set_color(70, 0xFF, 0x0, 0x0); // Left side LED 2
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c
index 46e0a128f9..83ef8c765a 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c
@@ -73,14 +73,14 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
static void set_rgb_side_leds(void);
-static void set_rgb_side_leds() {
+static void set_rgb_side_leds(void) {
rgb_matrix_set_color(67, RGB_WHITE); // Left side LED 1
rgb_matrix_set_color(68, RGB_WHITE); // Right side LED 1
rgb_matrix_set_color(91, RGB_WHITE); // Left side LED 8
rgb_matrix_set_color(92, RGB_WHITE); // Right side LED 8
}
-bool rgb_matrix_indicators_user() {
+bool rgb_matrix_indicators_user(void) {
rgb_matrix_set_color_all(0x0, 0x0, 0x0);
if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) {
rgb_matrix_set_color(3, RGB_WHITE); // CAPS
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/macos/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/macos/keymap.c
index 8740bfe89c..50a2ac6ca3 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/macos/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/macos/keymap.c
@@ -414,7 +414,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
}
#if RGB_CONFIRMATION_BLINKING_TIME > 0
- static void start_effects() {
+ static void start_effects(void) {
effect_started_time = sync_timer_read();
if (!rgb_matrix_is_enabled()) {
/* Turn it ON, signal the cause (EFFECTS) */
@@ -427,7 +427,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
}
#endif // RGB_CONFIRMATION_BLINKING_TIME > 0
- static void set_rgb_caps_leds() {
+ static void set_rgb_caps_leds(void) {
rgb_matrix_set_color(67, 0xFF, 0x0, 0x0); // Left side LED 1
rgb_matrix_set_color(68, 0xFF, 0x0, 0x0); // Right side LED 1
rgb_matrix_set_color(70, 0xFF, 0x0, 0x0); // Left side LED 2
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/encoder.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/encoder.c
index 43ed195fbb..c912806217 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/encoder.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/encoder.c
@@ -36,9 +36,9 @@ const encoder_callback encoder_mapping[][2] = {
// clang-format on
-void volume_up() { tap_code(KC_VOLU); }
+void volume_up(void) { tap_code(KC_VOLU); }
-void volume_down() { tap_code(KC_VOLD); }
+void volume_down(void) { tap_code(KC_VOLD); }
bool encoder_update_user(uint8_t index, bool clockwise) {
dprintf("current encoder state is: %d\n", state);
@@ -65,7 +65,7 @@ void handle_rgb_key(bool pressed) {
static KeyPressState *rgb_state;
-void keyboard_post_init_encoder() {
+void keyboard_post_init_encoder(void) {
rgb_state = NewKeyPressState(handle_rgb_key);
}
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/process_record.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/process_record.c
index ac0164e73f..a21b58a36c 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/process_record.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/process_record.c
@@ -116,4 +116,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
process_record_fun(keycode, record);
}
-void keyboard_post_init_user() { keyboard_post_init_encoder(); }
+void keyboard_post_init_user(void) { keyboard_post_init_encoder(); }
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/rgb_matrix_ledmaps.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/rgb_matrix_ledmaps.c
index 0106d80c14..b213abc998 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/rgb_matrix_ledmaps.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/rgb_matrix_ledmaps.c
@@ -58,12 +58,12 @@ void set_layer_rgb(uint8_t led_min, uint8_t led_max, int layer) {
}
}
-void rgb_matrix_layers_enable() {
+void rgb_matrix_layers_enable(void) {
dprintf("ledmaps are enabled\n");
enabled = true;
}
-void rgb_matrix_layers_disable() {
+void rgb_matrix_layers_disable(void) {
dprintf("ledmaps are disabled\n");
enabled = false;
}
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/utils.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/utils.c
index 35ae20b126..009e826423 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/utils.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808/utils.c
@@ -15,7 +15,7 @@
*/
#include "utils.h"
-void store_rgb_state_to_eeprom() {
+void store_rgb_state_to_eeprom(void) {
uint8_t mode = rgb_matrix_get_mode();
uint8_t speed = rgb_matrix_get_speed();
HSV color = rgb_matrix_get_hsv();
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/stickandgum/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/stickandgum/keymap.c
index 6ba850b3e5..9a3123a0a7 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/stickandgum/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/stickandgum/keymap.c
@@ -247,7 +247,7 @@ bool rgb_matrix_indicators_user(void) {
// 87, led 07 88, led 18
// 91, led 08 92, led 19
-static void set_rgb_caps_leds_on() {
+static void set_rgb_caps_leds_on(void) {
rgb_matrix_set_color(0, 255, 0, 0); //Escape Key
rgb_matrix_set_color(3, 255, 0, 0); //capslock key
rgb_matrix_set_color(5, 255, 0, 0); //Left CTRL key
@@ -269,7 +269,7 @@ static void set_rgb_caps_leds_on() {
rgb_matrix_set_color(92, 255, 255, 255); //Right LED 19
}
-static void set_rgb_caps_leds_off() {
+static void set_rgb_caps_leds_off(void) {
rgb_matrix_set_color(0, 0, 0, 0); //Escape Key
rgb_matrix_set_color(3, 0, 0, 0); //capslock key
rgb_matrix_set_color(5, 0, 0, 0); //Left CTRL key
@@ -291,11 +291,11 @@ static void set_rgb_caps_leds_off() {
rgb_matrix_set_color(92, 0, 0, 0); //Right LED 19
}
-static void set_rgb_scroll_leds_on() {
+static void set_rgb_scroll_leds_on(void) {
rgb_matrix_set_color(72, 255, 255, 255); // Under Rotary (HOME)
}
-static void set_rgb_scroll_leds_off() {
+static void set_rgb_scroll_leds_off(void) {
rgb_matrix_set_color(72, 0, 0, 0); // Under Rotary (HOME)
}
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c
index 8d425cdf1e..303861c676 100644
--- a/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c
+++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c
@@ -62,7 +62,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
static void set_rgb_caps_leds_off(void);
static void set_rgb_scroll_leds_off(void);
- static void set_rgb_caps_leds_on() {
+ static void set_rgb_caps_leds_on(void) {
// Set alpha and capslock to red
rgb_matrix_set_color( 3, 255, 0, 0); // Caps
@@ -97,7 +97,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
rgb_matrix_set_color(43, 255, 0, 0); // M
}
- static void set_rgb_caps_leds_off() {
+ static void set_rgb_caps_leds_off(void) {
// Set alpha and capslock to black
rgb_matrix_set_color( 3, 0, 0, 0); // Caps
@@ -132,11 +132,11 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
rgb_matrix_set_color(43, 0, 0, 0); // M
}
- static void set_rgb_scroll_leds_on() {
+ static void set_rgb_scroll_leds_on(void) {
rgb_matrix_set_color(72, 255, 255, 255); // Under Rotary (HOME)
}
- static void set_rgb_scroll_leds_off() {
+ static void set_rgb_scroll_leds_off(void) {
rgb_matrix_set_color(72, 0, 0, 0); // Under Rotary (HOME)
}
diff --git a/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c b/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c
index 04b30e3437..f352b1c851 100644
--- a/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c
+++ b/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c
@@ -325,13 +325,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{cc
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/handwired/atreus50/keymaps/default/keymap.c b/keyboards/handwired/atreus50/keymaps/default/keymap.c
index 6feed5e070..cbcc5fc6f8 100644
--- a/keyboards/handwired/atreus50/keymaps/default/keymap.c
+++ b/keyboards/handwired/atreus50/keymaps/default/keymap.c
@@ -187,13 +187,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/handwired/jotanck/jotanck.c b/keyboards/handwired/jotanck/jotanck.c
index af650b129e..23e2b9634c 100644
--- a/keyboards/handwired/jotanck/jotanck.c
+++ b/keyboards/handwired/jotanck/jotanck.c
@@ -1,6 +1,6 @@
#include "jotanck.h"
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
setPinOutput(JOTANCK_LED1);
setPinOutput(JOTANCK_LED2);
diff --git a/keyboards/handwired/jotpad16/jotpad16.c b/keyboards/handwired/jotpad16/jotpad16.c
index dfff7e1679..439cfc7b1e 100644
--- a/keyboards/handwired/jotpad16/jotpad16.c
+++ b/keyboards/handwired/jotpad16/jotpad16.c
@@ -1,6 +1,6 @@
#include "jotpad16.h"
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
setPinOutput(JOTPAD16_LED1);
setPinOutput(JOTPAD16_LED2);
diff --git a/keyboards/handwired/jscotto/scotto36/keymaps/default/keymap.c b/keyboards/handwired/jscotto/scotto36/keymaps/default/keymap.c
index 3c6e61aea0..ad8451ac09 100644
--- a/keyboards/handwired/jscotto/scotto36/keymaps/default/keymap.c
+++ b/keyboards/handwired/jscotto/scotto36/keymaps/default/keymap.c
@@ -216,7 +216,7 @@ static void render_animation(void) {
}
// Draw to OLED
-bool oled_task_user() {
+bool oled_task_user(void) {
// Render Bongo Cat
render_animation();
diff --git a/keyboards/handwired/jscotto/scottocmd/keymaps/default/keymap.c b/keyboards/handwired/jscotto/scottocmd/keymaps/default/keymap.c
index 97d2c206a8..b1c77ae944 100644
--- a/keyboards/handwired/jscotto/scottocmd/keymaps/default/keymap.c
+++ b/keyboards/handwired/jscotto/scottocmd/keymaps/default/keymap.c
@@ -349,7 +349,7 @@ static void render_animation(void) {
}
// Draw to OLED
-bool oled_task_user() {
+bool oled_task_user(void) {
// Caps lock text
led_t led_state = host_keyboard_led_state();
oled_set_cursor(0,1);
diff --git a/keyboards/handwired/onekey/keymaps/digitizer/keymap.c b/keyboards/handwired/onekey/keymaps/digitizer/keymap.c
index dcc0adc59b..49fe3d66c8 100644
--- a/keyboards/handwired/onekey/keymaps/digitizer/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/digitizer/keymap.c
@@ -32,7 +32,7 @@ void keyboard_post_init_user(void) {
digitizer_in_range_on();
}
-void matrix_scan_user() {
+void matrix_scan_user(void) {
if (timer_elapsed32(timer) < 200) {
return;
}
diff --git a/keyboards/handwired/onekey/keymaps/joystick/keymap.c b/keyboards/handwired/onekey/keymaps/joystick/keymap.c
index 6463900b7b..3bcdf2c58e 100644
--- a/keyboards/handwired/onekey/keymaps/joystick/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/joystick/keymap.c
@@ -8,7 +8,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_1x1(JS_0)
};
-void matrix_scan_user() {
+void matrix_scan_user(void) {
int16_t val = (((uint32_t)timer_read() % 5000 - 2500) * 255) / 5000;
joystick_set_axis(1, val);
}
diff --git a/keyboards/handwired/ortho5x13/keymaps/default/keymap.c b/keyboards/handwired/ortho5x13/keymaps/default/keymap.c
index f043bd1be2..ef975a215d 100644
--- a/keyboards/handwired/ortho5x13/keymaps/default/keymap.c
+++ b/keyboards/handwired/ortho5x13/keymaps/default/keymap.c
@@ -256,13 +256,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c
index 534a2986cb..21dd99d95a 100644
--- a/keyboards/handwired/promethium/keymaps/default/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/default/keymap.c
@@ -1272,7 +1272,7 @@ void set_output_user(uint8_t output) {
#endif
}
-void matrix_init_user() {
+void matrix_init_user(void) {
wait_ms(500); // give time for usb to initialize
set_unicode_input_mode(UNICODE_MODE_LINUX);
@@ -1292,7 +1292,7 @@ void matrix_init_user() {
#endif
}
-void turn_off_capslock() {
+void turn_off_capslock(void) {
if (capslock) {
register_code(KC_CAPS);
unregister_code(KC_CAPS);
@@ -1323,7 +1323,7 @@ void turn_off_capslock() {
#endif
#ifdef PS2_MOUSE_ENABLE
- void ps2_mouse_init_user() {
+ void ps2_mouse_init_user(void) {
uint8_t rcv;
// set TrackPoint sensitivity
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
index 4271073549..1ebf63037b 100644
--- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
@@ -1275,7 +1275,7 @@ void set_output_user(uint8_t output) {
#endif
}
-void matrix_init_user() {
+void matrix_init_user(void) {
wait_ms(500); // give time for usb to initialize
set_unicode_input_mode(UNICODE_MODE_LINUX);
@@ -1295,7 +1295,7 @@ void matrix_init_user() {
#endif
}
-void turn_off_capslock() {
+void turn_off_capslock(void) {
if (capslock) {
register_code(KC_CAPS);
unregister_code(KC_CAPS);
@@ -1326,7 +1326,7 @@ void turn_off_capslock() {
#endif
#ifdef PS2_MOUSE_ENABLE
- void ps2_mouse_init_user() {
+ void ps2_mouse_init_user(void) {
uint8_t rcv;
// set TrackPoint sensitivity
diff --git a/keyboards/helix/pico/keymaps/default/keymap.c b/keyboards/helix/pico/keymaps/default/keymap.c
index 21418f2d2f..101a54bda6 100644
--- a/keyboards/helix/pico/keymaps/default/keymap.c
+++ b/keyboards/helix/pico/keymaps/default/keymap.c
@@ -340,12 +340,12 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(50); // gets rid of tick
}
-void shutdown_user()
+void shutdown_user(void)
{
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/helix/pico/keymaps/mtei/keymap.c b/keyboards/helix/pico/keymaps/mtei/keymap.c
index 17a98f4d7f..6a5f7d295a 100644
--- a/keyboards/helix/pico/keymaps/mtei/keymap.c
+++ b/keyboards/helix/pico/keymaps/mtei/keymap.c
@@ -344,12 +344,12 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(50); // gets rid of tick
}
-void shutdown_user()
+void shutdown_user(void)
{
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/helix/rev2/keymaps/default/keymap.c b/keyboards/helix/rev2/keymaps/default/keymap.c
index cc61ec4caa..464b8bbd80 100644
--- a/keyboards/helix/rev2/keymaps/default/keymap.c
+++ b/keyboards/helix/rev2/keymaps/default/keymap.c
@@ -479,12 +479,12 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
}
-void shutdown_user()
+void shutdown_user(void)
{
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/helix/rev2/keymaps/froggy/keymap.c b/keyboards/helix/rev2/keymaps/froggy/keymap.c
index 3b6d3f2065..ae96f576af 100644
--- a/keyboards/helix/rev2/keymaps/froggy/keymap.c
+++ b/keyboards/helix/rev2/keymaps/froggy/keymap.c
@@ -464,12 +464,12 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
}
-void shutdown_user()
+void shutdown_user(void)
{
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c b/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
index d2a460d0b5..5f22ed2741 100644
--- a/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
+++ b/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
@@ -459,12 +459,12 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
}
-void shutdown_user()
+void shutdown_user(void)
{
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c b/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c
index b8c0d9f844..c33bf71741 100644
--- a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c
+++ b/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c
@@ -183,7 +183,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LEADER_EXTERNS();
-void matrix_scan_user() {
+void matrix_scan_user(void) {
LEADER_DICTIONARY() {
leading = false;
leader_end();
diff --git a/keyboards/input_club/ergodox_infinity/ergodox_infinity.c b/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
index 6f7de7ff29..fbe1bdb77f 100644
--- a/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
+++ b/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
@@ -94,7 +94,7 @@ __attribute__ ((weak)) void matrix_init_user(void) {}
__attribute__ ((weak)) void matrix_scan_user(void) {}
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
#ifdef LED_MATRIX_ENABLE
// Turn on LED controller
setPinOutput(B16);
diff --git a/keyboards/input_club/ergodox_infinity/keymaps/dudeofawesome/keymap.c b/keyboards/input_club/ergodox_infinity/keymaps/dudeofawesome/keymap.c
index ebdedcbe6b..d1665ecb1f 100644
--- a/keyboards/input_club/ergodox_infinity/keymaps/dudeofawesome/keymap.c
+++ b/keyboards/input_club/ergodox_infinity/keymaps/dudeofawesome/keymap.c
@@ -470,7 +470,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user() {
+void matrix_init_user(void) {
led_matrix_enable_noeeprom();
led_matrix_set_val_noeeprom(UINT8_MAX);
}
diff --git a/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c b/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c
index 87a6404326..264c760414 100644
--- a/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c
+++ b/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c
@@ -52,7 +52,7 @@ void keyboard_post_init_user(void) {
#ifdef RGB_MATRIX_ENABLE
// Turn off SDB
-void keyboard_pre_init_user() {
+void keyboard_pre_init_user(void) {
palSetPadMode(GPIOB, 16, PAL_MODE_OUTPUT_PUSHPULL);
palSetPad(GPIOB, 16);
}
diff --git a/keyboards/jels/jels88/jels88.c b/keyboards/jels/jels88/jels88.c
index bd8e30e4ee..a5ae732d3e 100644
--- a/keyboards/jels/jels88/jels88.c
+++ b/keyboards/jels/jels88/jels88.c
@@ -22,7 +22,7 @@
#define CAPS_LED D5
#define SCROLL_LED D4
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
setPinOutput(CAPS_LED);
setPinOutput(SCROLL_LED);
keyboard_pre_init_user();
diff --git a/keyboards/kbdfans/niu_mini/keymaps/yttyx/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/yttyx/keymap.c
index c7db9d5023..55d5a80228 100644
--- a/keyboards/kbdfans/niu_mini/keymaps/yttyx/keymap.c
+++ b/keyboards/kbdfans/niu_mini/keymaps/yttyx/keymap.c
@@ -90,6 +90,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user() {
+void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI);
}
diff --git a/keyboards/keebio/iris/keymaps/edvorakjp/keymap.c b/keyboards/keebio/iris/keymaps/edvorakjp/keymap.c
index e593051db8..97c9f48f89 100644
--- a/keyboards/keebio/iris/keymaps/edvorakjp/keymap.c
+++ b/keyboards/keebio/iris/keymaps/edvorakjp/keymap.c
@@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
// clang-format on
-void matrix_init_keymap() {}
+void matrix_init_keymap(void) {}
#ifdef RGBLIGHT_EFFECT_STATIC_GRADIENT
layer_state_t layer_state_set_keymap(layer_state_t state) {
diff --git a/keyboards/keebio/levinson/keymaps/steno/keymap.c b/keyboards/keebio/levinson/keymaps/steno/keymap.c
index 33b80ca194..854ef41999 100644
--- a/keyboards/keebio/levinson/keymaps/steno/keymap.c
+++ b/keyboards/keebio/levinson/keymaps/steno/keymap.c
@@ -91,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] =
};
-void matrix_init_user() {
+void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
}
diff --git a/keyboards/knops/mini/keymaps/mverteuil/keymap.c b/keyboards/knops/mini/keymaps/mverteuil/keymap.c
index 45765a7aba..2e8d678f26 100644
--- a/keyboards/knops/mini/keymaps/mverteuil/keymap.c
+++ b/keyboards/knops/mini/keymaps/mverteuil/keymap.c
@@ -222,7 +222,7 @@ void set_layer_led(int layerLedMode) {
}
}
-void led_init_animation() {
+void led_init_animation(void) {
for (int i = ALL_LAYERS_OFF; i <= ALL_LAYERS_ON; i++) {
led_set_layer(i);
}
diff --git a/keyboards/lazydesigners/dimple/staggered/staggered.c b/keyboards/lazydesigners/dimple/staggered/staggered.c
index 2cd8c018db..b871868afa 100644
--- a/keyboards/lazydesigners/dimple/staggered/staggered.c
+++ b/keyboards/lazydesigners/dimple/staggered/staggered.c
@@ -14,10 +14,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "staggered.h"
-void dimple_led_on() {
+void dimple_led_on(void) {
writePinLow(E6);
}
- void dimple_led_off() {
+ void dimple_led_off(void) {
writePinHigh(E6);
}
diff --git a/keyboards/lazydesigners/the50/the50.c b/keyboards/lazydesigners/the50/the50.c
index 4ceb3da6ab..35c678fd5e 100644
--- a/keyboards/lazydesigners/the50/the50.c
+++ b/keyboards/lazydesigners/the50/the50.c
@@ -1,9 +1,9 @@
#include "the50.h"
-void the50_led_on() {
+void the50_led_on(void) {
DDRB |= (1 << 7); PORTB &= ~(1 << 7);
}
-void the50_led_off() {
+void the50_led_off(void) {
DDRB &= ~(1 << 7); PORTB &= ~(1 << 7);
}
diff --git a/keyboards/lfkeyboards/TWIlib.c b/keyboards/lfkeyboards/TWIlib.c
index d50ce72895..0d52322c64 100644
--- a/keyboards/lfkeyboards/TWIlib.c
+++ b/keyboards/lfkeyboards/TWIlib.c
@@ -24,7 +24,7 @@ int RXBuffLen; // The total number of bytes to read (should be less than RXMAXBU
TWIInfoStruct TWIInfo;
-void TWIInit()
+void TWIInit(void)
{
TWIInfo.mode = Ready;
TWIInfo.errorCode = 0xFF;
@@ -37,7 +37,7 @@ void TWIInit()
TWCR = (1 << TWIE) | (1 << TWEN);
}
-uint8_t isTWIReady()
+uint8_t isTWIReady(void)
{
if ( (TWIInfo.mode == Ready) | (TWIInfo.mode == RepeatedStartSent) )
{
diff --git a/keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c b/keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c
index 7326e812ec..3d273e8aec 100644
--- a/keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c
+++ b/keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c
@@ -13,7 +13,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
return process_record_user(keycode, record);
}
-void reset_keyboard_kb(){
+void reset_keyboard_kb(void){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c
index 110bbd4168..6f4c062ad8 100644
--- a/keyboards/lfkeyboards/lfk78/lfk78.c
+++ b/keyboards/lfkeyboards/lfk78/lfk78.c
@@ -137,7 +137,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
return process_record_user(keycode, record);
}
-void reset_keyboard_kb() {
+void reset_keyboard_kb(void) {
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/lfkeyboards/lfk87/lfk87.c b/keyboards/lfkeyboards/lfk87/lfk87.c
index 18ddd86adc..ce81aa7d27 100644
--- a/keyboards/lfkeyboards/lfk87/lfk87.c
+++ b/keyboards/lfkeyboards/lfk87/lfk87.c
@@ -116,7 +116,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
return process_record_user(keycode, record);
}
-void reset_keyboard_kb(){
+void reset_keyboard_kb(void){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/lfkeyboards/lighting.c b/keyboards/lfkeyboards/lighting.c
index f4940ec079..5f3ab46e46 100644
--- a/keyboards/lfkeyboards/lighting.c
+++ b/keyboards/lfkeyboards/lighting.c
@@ -112,7 +112,7 @@ void set_backlight_by_keymap(uint8_t col, uint8_t row){
#endif
}
-void force_issi_refresh(){
+void force_issi_refresh(void){
#ifdef ISSI_ENABLE
issi_devices[0]->led_dirty = true;
update_issi(0, true);
@@ -121,7 +121,7 @@ void force_issi_refresh(){
#endif
}
-void led_test(){
+void led_test(void){
#ifdef ISSI_ENABLE
#ifdef WATCHDOG_ENABLE
// This test take a long time to run, disable the WTD until its complete
diff --git a/keyboards/lfkeyboards/mini1800/mini1800.c b/keyboards/lfkeyboards/mini1800/mini1800.c
index cf7e42f134..fb92137be8 100644
--- a/keyboards/lfkeyboards/mini1800/mini1800.c
+++ b/keyboards/lfkeyboards/mini1800/mini1800.c
@@ -122,7 +122,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
return process_record_user(keycode, record);
}
-void reset_keyboard_kb(){
+void reset_keyboard_kb(void){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/lfkeyboards/smk65/revb/revb.c b/keyboards/lfkeyboards/smk65/revb/revb.c
index 9e78107eca..858305244a 100644
--- a/keyboards/lfkeyboards/smk65/revb/revb.c
+++ b/keyboards/lfkeyboards/smk65/revb/revb.c
@@ -81,7 +81,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
return process_record_user(keycode, record);
}
-void reset_keyboard_kb(){
+void reset_keyboard_kb(void){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/macrocat/macrocat.c b/keyboards/macrocat/macrocat.c
index aec76d1912..f00bb01410 100644
--- a/keyboards/macrocat/macrocat.c
+++ b/keyboards/macrocat/macrocat.c
@@ -126,12 +126,12 @@ void encoder_double_click(void) {
void encoder_triple_click(void) {
tap_code(KC_MPRV);
}
-void matrix_init_kb() {
+void matrix_init_kb(void) {
matrix_init_user();
setPinInputHigh(ENCODER_SWITCH);
}
-void matrix_scan_kb() {
+void matrix_scan_kb(void) {
matrix_scan_user();
if (readPin(ENCODER_SWITCH)) {
if (encoder_pressed) { // release switch
diff --git a/keyboards/makeymakey/makeymakey.c b/keyboards/makeymakey/makeymakey.c
index 77794416b2..ade9200de4 100644
--- a/keyboards/makeymakey/makeymakey.c
+++ b/keyboards/makeymakey/makeymakey.c
@@ -108,7 +108,7 @@ void cycle_leds(void) {
}
}
-void matrix_scan_kb() {
+void matrix_scan_kb(void) {
cycle_leds();
matrix_scan_user();
}
diff --git a/keyboards/matrix/noah/keymaps/blockader/keymap.c b/keyboards/matrix/noah/keymaps/blockader/keymap.c
index cec0905677..b6caf43f91 100644
--- a/keyboards/matrix/noah/keymaps/blockader/keymap.c
+++ b/keyboards/matrix/noah/keymaps/blockader/keymap.c
@@ -645,7 +645,7 @@ bool process_record_user(uint16_t key, keyrecord_t* record) {
return handle_common_key(key, record);
}
-void keyboard_post_init_user() {
+void keyboard_post_init_user(void) {
rgblight_disable_noeeprom();
rgb_matrix_disable();
common_layer_data.back = false;
diff --git a/keyboards/mechwild/bbs/bbs.c b/keyboards/mechwild/bbs/bbs.c
index 02c5f43dd9..9a7253e5da 100644
--- a/keyboards/mechwild/bbs/bbs.c
+++ b/keyboards/mechwild/bbs/bbs.c
@@ -16,7 +16,7 @@ bool dip_switch_update_kb(uint8_t index, bool active) {
}
#endif
-void eeconfig_init_kb() {
+void eeconfig_init_kb(void) {
steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
eeconfig_init_user();
} \ No newline at end of file
diff --git a/keyboards/nek_type_a/mcp23017.c b/keyboards/nek_type_a/mcp23017.c
index 1434fa56c4..6c8ccb4ff1 100644
--- a/keyboards/nek_type_a/mcp23017.c
+++ b/keyboards/nek_type_a/mcp23017.c
@@ -53,7 +53,7 @@ void expander_init(void) {
}
// set IN and HI
-void expander_unselect_all() {
+void expander_unselect_all(void) {
expander_write(EXPANDER_REG_IODIRA, 0xff);
expander_write(EXPANDER_REG_IODIRB, 0xff);
expander_write(EXPANDER_REG_OLATA, 0xff);
@@ -74,7 +74,7 @@ void expander_select(uint8_t pin) {
wait_us(EXPANDER_PAUSE);
}
-void expander_config() {
+void expander_config(void) {
// set everything to input
expander_write(EXPANDER_REG_IODIRA, 0xff);
expander_write(EXPANDER_REG_IODIRB, 0xff);
diff --git a/keyboards/neopad/rev1/rev1.c b/keyboards/neopad/rev1/rev1.c
index 20e2c4d055..665294451a 100755
--- a/keyboards/neopad/rev1/rev1.c
+++ b/keyboards/neopad/rev1/rev1.c
@@ -22,7 +22,7 @@ void keyboard_pre_init_kb(void) {
keyboard_pre_init_user();
}
-void shutdown_user() {
+void shutdown_user(void) {
// Shutdown LEDs
writePinLow(LED_00);
writePinLow(LED_01);
diff --git a/keyboards/opendeck/32/rev1/rev1.c b/keyboards/opendeck/32/rev1/rev1.c
index b803682b7d..5d546afb29 100644
--- a/keyboards/opendeck/32/rev1/rev1.c
+++ b/keyboards/opendeck/32/rev1/rev1.c
@@ -102,7 +102,7 @@ void keyboard_pre_init_kb(void) {
setPinInput(RGB_IRQ_N_PIN);
}
-void keyboard_post_init_user() {
+void keyboard_post_init_user(void) {
// RGB enabled by default, no way to turn off. No need to expend EEPROM write cycles here.
rgb_matrix_enable_noeeprom();
}
diff --git a/keyboards/planck/keymaps/circuit/keymap.c b/keyboards/planck/keymaps/circuit/keymap.c
index 4b3db082a7..d150905dc8 100644
--- a/keyboards/planck/keymaps/circuit/keymap.c
+++ b/keyboards/planck/keymaps/circuit/keymap.c
@@ -219,13 +219,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/dbroqua/keymap.c b/keyboards/planck/keymaps/dbroqua/keymap.c
index 6096b51dde..95d0b85408 100644
--- a/keyboards/planck/keymaps/dbroqua/keymap.c
+++ b/keyboards/planck/keymaps/dbroqua/keymap.c
@@ -192,13 +192,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/dcompact/keymap.c b/keyboards/planck/keymaps/dcompact/keymap.c
index 0e09d21efb..a63f86e7a8 100644
--- a/keyboards/planck/keymaps/dcompact/keymap.c
+++ b/keyboards/planck/keymaps/dcompact/keymap.c
@@ -357,6 +357,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-void matrix_init_user() {
+void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI);
}
diff --git a/keyboards/planck/keymaps/dr_notsokind/keymap.c b/keyboards/planck/keymaps/dr_notsokind/keymap.c
index 0338e1806e..ffceef11cc 100644
--- a/keyboards/planck/keymaps/dr_notsokind/keymap.c
+++ b/keyboards/planck/keymaps/dr_notsokind/keymap.c
@@ -312,13 +312,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/emilyh/keymap.c b/keyboards/planck/keymaps/emilyh/keymap.c
index 91e5c5fb37..17bbc98b7e 100644
--- a/keyboards/planck/keymaps/emilyh/keymap.c
+++ b/keyboards/planck/keymaps/emilyh/keymap.c
@@ -282,13 +282,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/experimental/keymap.c b/keyboards/planck/keymaps/experimental/keymap.c
index ecb13848d1..e0ade650fe 100644
--- a/keyboards/planck/keymaps/experimental/keymap.c
+++ b/keyboards/planck/keymaps/experimental/keymap.c
@@ -347,13 +347,13 @@ void matrix_init_user(void) {
}
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/gunp/keymap.c b/keyboards/planck/keymaps/gunp/keymap.c
index 555b073839..7c2f6c0bd5 100644
--- a/keyboards/planck/keymaps/gunp/keymap.c
+++ b/keyboards/planck/keymaps/gunp/keymap.c
@@ -293,13 +293,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
#endif
-void startup_user() {
+void startup_user(void) {
#ifdef AUDIO_ENABLE
PLAY_SONG(tone_startup);
#endif
}
-void shutdown_user() {
+void shutdown_user(void) {
#ifdef AUDIO_ENABLE
PLAY_SONG(tone_goodbye);
stop_all_notes();
diff --git a/keyboards/planck/keymaps/handwired_binaryplease/keymap.c b/keyboards/planck/keymaps/handwired_binaryplease/keymap.c
index b5e8484bdd..13917e516d 100644
--- a/keyboards/planck/keymaps/handwired_binaryplease/keymap.c
+++ b/keyboards/planck/keymaps/handwired_binaryplease/keymap.c
@@ -280,13 +280,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/impossible/keymap.c b/keyboards/planck/keymaps/impossible/keymap.c
index 07872d0d7f..9145ad79aa 100644
--- a/keyboards/planck/keymaps/impossible/keymap.c
+++ b/keyboards/planck/keymaps/impossible/keymap.c
@@ -205,13 +205,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/ishtob/keymap.c b/keyboards/planck/keymaps/ishtob/keymap.c
index 48cce59420..eebafddbed 100644
--- a/keyboards/planck/keymaps/ishtob/keymap.c
+++ b/keyboards/planck/keymaps/ishtob/keymap.c
@@ -321,7 +321,7 @@ void matrix_init_keymap(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
#ifdef RGB_MATRIX_ENABLE
rgblight_mode(RGB_MATRIX_CYCLE_ALL);
@@ -330,7 +330,7 @@ void startup_user()
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
wait_ms(150);
diff --git a/keyboards/planck/keymaps/jhenahan/keymap.c b/keyboards/planck/keymaps/jhenahan/keymap.c
index 92b3d16e2e..21c489922d 100644
--- a/keyboards/planck/keymaps/jhenahan/keymap.c
+++ b/keyboards/planck/keymaps/jhenahan/keymap.c
@@ -277,13 +277,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/lae3/keymap.c b/keyboards/planck/keymaps/lae3/keymap.c
index 87845b0f32..7b6175d543 100644
--- a/keyboards/planck/keymaps/lae3/keymap.c
+++ b/keyboards/planck/keymaps/lae3/keymap.c
@@ -227,13 +227,13 @@ void matrix_init_user(void)
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(100); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/mjt/keymap.c b/keyboards/planck/keymaps/mjt/keymap.c
index 2b5ce9d206..e927627e1f 100644
--- a/keyboards/planck/keymaps/mjt/keymap.c
+++ b/keyboards/planck/keymaps/mjt/keymap.c
@@ -248,13 +248,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/mjtnumsym/keymap.c b/keyboards/planck/keymaps/mjtnumsym/keymap.c
index 81ba8d9ee0..3fa05ad178 100644
--- a/keyboards/planck/keymaps/mjtnumsym/keymap.c
+++ b/keyboards/planck/keymaps/mjtnumsym/keymap.c
@@ -247,13 +247,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/originerd/keymap.c b/keyboards/planck/keymaps/originerd/keymap.c
index 917e59f0bb..85e5cd3b16 100644
--- a/keyboards/planck/keymaps/originerd/keymap.c
+++ b/keyboards/planck/keymaps/originerd/keymap.c
@@ -158,13 +158,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/premek/keymap.c b/keyboards/planck/keymaps/premek/keymap.c
index 402a603ece..76d3cabfbc 100644
--- a/keyboards/planck/keymaps/premek/keymap.c
+++ b/keyboards/planck/keymaps/premek/keymap.c
@@ -194,13 +194,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/sgoodwin/keymap.c b/keyboards/planck/keymaps/sgoodwin/keymap.c
index 1b88afd952..e61cd4de68 100644
--- a/keyboards/planck/keymaps/sgoodwin/keymap.c
+++ b/keyboards/planck/keymaps/sgoodwin/keymap.c
@@ -198,13 +198,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/smt/keymap.c b/keyboards/planck/keymaps/smt/keymap.c
index 3c6eb6e74c..6320e11fcf 100644
--- a/keyboards/planck/keymaps/smt/keymap.c
+++ b/keyboards/planck/keymaps/smt/keymap.c
@@ -230,13 +230,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/that_canadian/keymap.c b/keyboards/planck/keymaps/that_canadian/keymap.c
index bb9ff261ee..9f3a415fa3 100644
--- a/keyboards/planck/keymaps/that_canadian/keymap.c
+++ b/keyboards/planck/keymaps/that_canadian/keymap.c
@@ -182,13 +182,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/planck/keymaps/vaire/keymap.c b/keyboards/planck/keymaps/vaire/keymap.c
index 3b411e6185..05f7f4a520 100644
--- a/keyboards/planck/keymaps/vaire/keymap.c
+++ b/keyboards/planck/keymaps/vaire/keymap.c
@@ -124,13 +124,13 @@ void led_set_user(uint8_t usb_led)
}
-void startup_user()
+void startup_user(void)
{
_delay_ms(30); // gets rid of tick
PLAY_SONG(tone_my_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_my_goodbye);
_delay_ms(3000);
diff --git a/keyboards/planck/keymaps/yttyx/keymap.c b/keyboards/planck/keymaps/yttyx/keymap.c
index 8c989da8a8..1201163ac7 100644
--- a/keyboards/planck/keymaps/yttyx/keymap.c
+++ b/keyboards/planck/keymaps/yttyx/keymap.c
@@ -90,6 +90,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user() {
+void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI);
}
diff --git a/keyboards/planck/keymaps/zach/zach_common_functions.c b/keyboards/planck/keymaps/zach/zach_common_functions.c
index 97b650d9cb..6ad1c7bed3 100644
--- a/keyboards/planck/keymaps/zach/zach_common_functions.c
+++ b/keyboards/planck/keymaps/zach/zach_common_functions.c
@@ -427,7 +427,7 @@ void play_goodbye_tone(void){
_delay_ms(150);
}
-void shutdown_user(){
+void shutdown_user(void){
PLAY_SONG(tone_goodbye);
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/preonic/keymaps/0xdec/keymap.c b/keyboards/preonic/keymaps/0xdec/keymap.c
index 4cf3a21049..fafa5c4460 100644
--- a/keyboards/preonic/keymaps/0xdec/keymap.c
+++ b/keyboards/preonic/keymaps/0xdec/keymap.c
@@ -98,11 +98,11 @@ float tone_game[][2] = {
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
-void startup_user() {
+void startup_user(void) {
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user() {
+void shutdown_user(void) {
PLAY_SONG(tone_goodbye);
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/preonic/keymaps/bucktooth/keymap.c b/keyboards/preonic/keymaps/bucktooth/keymap.c
index b68a93ba3c..593083f201 100644
--- a/keyboards/preonic/keymaps/bucktooth/keymap.c
+++ b/keyboards/preonic/keymaps/bucktooth/keymap.c
@@ -91,12 +91,12 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
stop_all_notes();
diff --git a/keyboards/preonic/keymaps/jacwib/keymap.c b/keyboards/preonic/keymaps/jacwib/keymap.c
index 774b2a0c4e..9de460c2a4 100644
--- a/keyboards/preonic/keymaps/jacwib/keymap.c
+++ b/keyboards/preonic/keymaps/jacwib/keymap.c
@@ -258,13 +258,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/preonic/keymaps/mverteuil/keymap.c b/keyboards/preonic/keymaps/mverteuil/keymap.c
index 332e2877b2..e81f38362a 100644
--- a/keyboards/preonic/keymaps/mverteuil/keymap.c
+++ b/keyboards/preonic/keymaps/mverteuil/keymap.c
@@ -242,7 +242,7 @@ float s_audio_on[][2] = AUDIO_ON_SONG;
float s_layer_lower[][2] = LAYER_LOWER_SONG;
float s_layer_raise[][2] = LAYER_RAISE_SONG;
-void audio_on_user() { PLAY_SONG(s_audio_on); };
+void audio_on_user(void) { PLAY_SONG(s_audio_on); };
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
diff --git a/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c b/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c
index c6cad0fe5f..cab5cdcb05 100644
--- a/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c
+++ b/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c
@@ -218,7 +218,7 @@ float s_audio_on[][2] = AUDIO_ON_SONG;
float s_layer_lower[][2] = LAYER_LOWER_SONG;
float s_layer_raise[][2] = LAYER_RAISE_SONG;
-void audio_on_user() { PLAY_SONG(s_audio_on); };
+void audio_on_user(void) { PLAY_SONG(s_audio_on); };
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
diff --git a/keyboards/preonic/keymaps/nikchi/keymap.c b/keyboards/preonic/keymaps/nikchi/keymap.c
index 9510791d2a..e14f8f0052 100644
--- a/keyboards/preonic/keymaps/nikchi/keymap.c
+++ b/keyboards/preonic/keymaps/nikchi/keymap.c
@@ -186,13 +186,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/preonic/keymaps/smt/keymap.c b/keyboards/preonic/keymaps/smt/keymap.c
index 80c704de32..7dd9545261 100644
--- a/keyboards/preonic/keymaps/smt/keymap.c
+++ b/keyboards/preonic/keymaps/smt/keymap.c
@@ -251,13 +251,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/preonic/keymaps/that_canadian/keymap.c b/keyboards/preonic/keymaps/that_canadian/keymap.c
index 0c2a05fa14..8af796821c 100644
--- a/keyboards/preonic/keymaps/that_canadian/keymap.c
+++ b/keyboards/preonic/keymaps/that_canadian/keymap.c
@@ -210,13 +210,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void startup_user()
+void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
-void shutdown_user()
+void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);
diff --git a/keyboards/preonic/keymaps/trigotometry/keymap.c b/keyboards/preonic/keymaps/trigotometry/keymap.c
index aa734328b5..419f7a10ba 100644
--- a/keyboards/preonic/keymaps/trigotometry/keymap.c
+++ b/keyboards/preonic/keymaps/trigotometry/keymap.c
@@ -157,7 +157,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// {NOTE_E5, 8}
// };
-// void startup_user()
+// void startup_user(void)
// {
// _delay_ms(20); // gets rid of tick
// PLAY_SONG(tone_startup);
diff --git a/keyboards/preonic/keymaps/zach/zach_common_functions.c b/keyboards/preonic/keymaps/zach/zach_common_functions.c
index 97b650d9cb..6ad1c7bed3 100644
--- a/keyboards/preonic/keymaps/zach/zach_common_functions.c
+++ b/keyboards/preonic/keymaps/zach/zach_common_functions.c
@@ -427,7 +427,7 @@ void play_goodbye_tone(void){
_delay_ms(150);
}
-void shutdown_user(){
+void shutdown_user(void){
PLAY_SONG(tone_goodbye);
_delay_ms(150);
stop_all_notes();
diff --git a/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c b/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c
index d6962664b1..98dda7fe19 100644
--- a/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c
+++ b/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c
@@ -132,7 +132,7 @@
};
- void matrix_init_user(){
+ void matrix_init_user(void){
set_unicode_input_mode(UNICODE_MODE_MACOS);
}
diff --git a/keyboards/rgbkb/sol3/rev1/rev1.c b/keyboards/rgbkb/sol3/rev1/rev1.c
index c66e145e80..de5836e061 100644
--- a/keyboards/rgbkb/sol3/rev1/rev1.c
+++ b/keyboards/rgbkb/sol3/rev1/rev1.c
@@ -105,7 +105,7 @@ bool touch_encoder_tapped_kb(uint8_t index, uint8_t section) {
return false;
}
-void matrix_slave_scan_kb() {
+void matrix_slave_scan_kb(void) {
dip_switch_read(false);
matrix_slave_scan_user();
}
diff --git a/keyboards/sekigon/grs_70ec/grs_70ec.c b/keyboards/sekigon/grs_70ec/grs_70ec.c
index e8791c00c1..e855a80dcf 100644
--- a/keyboards/sekigon/grs_70ec/grs_70ec.c
+++ b/keyboards/sekigon/grs_70ec/grs_70ec.c
@@ -23,7 +23,7 @@ void led_on(void) {
void led_off(void) { writePinLow(D2); }
-void keyboard_post_init_kb() {
+void keyboard_post_init_kb(void) {
led_on();
keyboard_post_init_user();
diff --git a/keyboards/sneakbox/aliceclone/aliceclone.c b/keyboards/sneakbox/aliceclone/aliceclone.c
index 9457c641df..9cfb4e551d 100644
--- a/keyboards/sneakbox/aliceclone/aliceclone.c
+++ b/keyboards/sneakbox/aliceclone/aliceclone.c
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "aliceclone.h"
-void keyboard_pre_init_kb() {
+void keyboard_pre_init_kb(void) {
setPinOutput(D7);
setPinOutput(D6);
setPinOutput(D4);
diff --git a/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c b/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c
index 1abf865010..9c31e2617c 100644
--- a/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c
@@ -252,7 +252,7 @@ bool led_update_user(led_t led_state) {
#endif
#ifdef OLED_ENABLE
-void suspend_power_down_user() {
+void suspend_power_down_user(void) {
oled_clear();
oled_off();
}
diff --git a/keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c b/keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c
index 492c7a3c94..74aa207bd5 100644
--- a/keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c
+++ b/keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c
@@ -31,6 +31,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
- void matrix_init_user() {
+ void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
}
diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c b/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
index 92356446fd..a1d82e9923 100644
--- a/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
+++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
@@ -288,7 +288,7 @@ void speed_led (int speed) {
// do this in one place to handle left/right leds being off here
-void isolate_rgblight_set () {
+void isolate_rgblight_set (void) {
# ifdef RGBLIGHT_ENABLE
if (!leds_on) { // left/right leds are off
diff --git a/keyboards/wilba_tech/wt65_xt/keymaps/zunger/keymap.c b/keyboards/wilba_tech/wt65_xt/keymaps/zunger/keymap.c
index 45778e1698..b0dfa3e03c 100644
--- a/keyboards/wilba_tech/wt65_xt/keymaps/zunger/keymap.c
+++ b/keyboards/wilba_tech/wt65_xt/keymaps/zunger/keymap.c
@@ -435,7 +435,7 @@ void toggle_os_mode(void) {
set_os_mode((os_mode + 1) % _OS_MODES_MAX);
}
-void keyboard_post_init_user() {
+void keyboard_post_init_user(void) {
set_os_mode(_WINDOWS);
}
diff --git a/keyboards/wilba_tech/wt70_jb/wt70_jb.c b/keyboards/wilba_tech/wt70_jb/wt70_jb.c
index d4f2c5c8da..df44b2f9b8 100644
--- a/keyboards/wilba_tech/wt70_jb/wt70_jb.c
+++ b/keyboards/wilba_tech/wt70_jb/wt70_jb.c
@@ -49,7 +49,7 @@ void via_init_kb(void)
}
}
-void keyboard_post_init_kb() {
+void keyboard_post_init_kb(void) {
// This is a workaround to ensure "EEPROM cleared" PCBs will
// start with the RGB test mode, essential for testing LEDs.
if ( g_first_execution ) {
diff --git a/keyboards/woodkeys/meira/TWIlib.c b/keyboards/woodkeys/meira/TWIlib.c
index 8f5658fcdb..89e03a73d4 100755
--- a/keyboards/woodkeys/meira/TWIlib.c
+++ b/keyboards/woodkeys/meira/TWIlib.c
@@ -24,7 +24,7 @@ int RXBuffLen; // The total number of bytes to read (should be less than RXMAXBU
TWIInfoStruct TWIInfo;
-void TWIInit()
+void TWIInit(void)
{
TWIInfo.mode = Ready;
TWIInfo.errorCode = 0xFF;
@@ -37,7 +37,7 @@ void TWIInit()
TWCR = (1 << TWIE) | (1 << TWEN);
}
-uint8_t isTWIReady()
+uint8_t isTWIReady(void)
{
if ( (TWIInfo.mode == Ready) | (TWIInfo.mode == RepeatedStartSent) )
{
diff --git a/keyboards/woodkeys/meira/lighting.c b/keyboards/woodkeys/meira/lighting.c
index 1a3c954bcf..6cbe101dbc 100755
--- a/keyboards/woodkeys/meira/lighting.c
+++ b/keyboards/woodkeys/meira/lighting.c
@@ -56,14 +56,14 @@ void set_backlight_by_keymap(uint8_t col, uint8_t row){
// activateLED(matrix, led_col, led_row, 255);
}
-void force_issi_refresh(){
+void force_issi_refresh(void){
issi_devices[0]->led_dirty = true;
update_issi(0, true);
issi_devices[3]->led_dirty = true;
update_issi(3, true);
}
-void led_test(){
+void led_test(void){
#ifdef WATCHDOG_ENABLE
// This test take a long time to run, disable the WTD until its complete
wdt_disable();
diff --git a/keyboards/woodkeys/meira/meira.c b/keyboards/woodkeys/meira/meira.c
index 87a6d11b4e..d8c04859e2 100644
--- a/keyboards/woodkeys/meira/meira.c
+++ b/keyboards/woodkeys/meira/meira.c
@@ -86,7 +86,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
-void reset_keyboard_kb(){
+void reset_keyboard_kb(void){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
wdt_disable();
diff --git a/keyboards/xiudi/xd75/keymaps/colinta/keymap.c b/keyboards/xiudi/xd75/keymaps/colinta/keymap.c
index 5cdbdd6c74..3cf286aeb5 100644
--- a/keyboards/xiudi/xd75/keymaps/colinta/keymap.c
+++ b/keyboards/xiudi/xd75/keymaps/colinta/keymap.c
@@ -205,7 +205,7 @@ void taphold_tapped(uint8_t index, bool pressed) {
}
}
-void matrix_scan_user() {
+void matrix_scan_user(void) {
for (uint8_t index = 0 ; index < TH_EVENTS_COUNT ; ++index ) {
tap_hold_t *th_event = &th_events[index];
if ( th_event->is_pressed && timer_elapsed(th_event->timer) > LONGPRESS_DELAY) {
diff --git a/keyboards/xiudi/xd96/keymaps/uuupah/keymap.c b/keyboards/xiudi/xd96/keymaps/uuupah/keymap.c
index 5fb6ed2b59..b554860c20 100644
--- a/keyboards/xiudi/xd96/keymaps/uuupah/keymap.c
+++ b/keyboards/xiudi/xd96/keymaps/uuupah/keymap.c
@@ -19,7 +19,7 @@
#define LT_ENT2 LT(2,KC_ENT)
#ifdef RGBLIGHT_ENABLE
-void matrix_init_user() {
+void matrix_init_user(void) {
rgblight_disable();
}
#endif