diff options
Diffstat (limited to 'users')
| -rw-r--r-- | users/arkag/arkag.c | 4 | ||||
| -rw-r--r-- | users/d4mation/d4mation.c | 4 | ||||
| -rw-r--r-- | users/danielo515/danielo515.c | 4 | ||||
| -rw-r--r-- | users/edvorakjp/edvorakjp.c | 2 | ||||
| -rw-r--r-- | users/ericgebhart/extensions/oneshot.c | 4 | ||||
| -rwxr-xr-x | users/ericgebhart/oled/oled_stuff.c | 2 | ||||
| -rw-r--r-- | users/miles2go/babblePaste.c | 4 | ||||
| -rw-r--r-- | users/ninjonas/ninjonas.c | 2 | ||||
| -rw-r--r-- | users/spidey3/layer_rgb.c | 2 | ||||
| -rw-r--r-- | users/talljoe/macros.c | 6 |
10 files changed, 17 insertions, 17 deletions
diff --git a/users/arkag/arkag.c b/users/arkag/arkag.c index e7c8218587..7074da18eb 100644 --- a/users/arkag/arkag.c +++ b/users/arkag/arkag.c | |||
| @@ -19,11 +19,11 @@ | |||
| 19 | #define TYPING_SPEED_MAX_VALUE 200 | 19 | #define TYPING_SPEED_MAX_VALUE 200 |
| 20 | uint8_t typing_speed = 0; | 20 | uint8_t typing_speed = 0; |
| 21 | 21 | ||
| 22 | void velocikey_accelerate() { | 22 | void velocikey_accelerate(void) { |
| 23 | if (typing_speed < TYPING_SPEED_MAX_VALUE) typing_speed += (TYPING_SPEED_MAX_VALUE / 50); | 23 | if (typing_speed < TYPING_SPEED_MAX_VALUE) typing_speed += (TYPING_SPEED_MAX_VALUE / 50); |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | void velocikey_decelerate() { | 26 | void velocikey_decelerate(void) { |
| 27 | static uint16_t decay_timer = 0; | 27 | static uint16_t decay_timer = 0; |
| 28 | 28 | ||
| 29 | if (timer_elapsed(decay_timer) > 500 || decay_timer == 0) { | 29 | if (timer_elapsed(decay_timer) > 500 || decay_timer == 0) { |
diff --git a/users/d4mation/d4mation.c b/users/d4mation/d4mation.c index 5aa58a9f0d..5d1092cd72 100644 --- a/users/d4mation/d4mation.c +++ b/users/d4mation/d4mation.c | |||
| @@ -7,12 +7,12 @@ bool process_record_keymap( uint16_t keycode, keyrecord_t *record ) { | |||
| 7 | } | 7 | } |
| 8 | 8 | ||
| 9 | __attribute__ ((weak)) | 9 | __attribute__ ((weak)) |
| 10 | void matrix_init_keymap() { | 10 | void matrix_init_keymap(void) { |
| 11 | /* If you want a matrix init specific to your keymap, you need to define this function in your keymap */ | 11 | /* If you want a matrix init specific to your keymap, you need to define this function in your keymap */ |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | __attribute__ ((weak)) | 14 | __attribute__ ((weak)) |
| 15 | void matrix_scan_keymap() { | 15 | void matrix_scan_keymap(void) { |
| 16 | /* If you want a matrix scan specific to your keymap, you need to define this function in your keymap */ | 16 | /* If you want a matrix scan specific to your keymap, you need to define this function in your keymap */ |
| 17 | } | 17 | } |
| 18 | 18 | ||
diff --git a/users/danielo515/danielo515.c b/users/danielo515/danielo515.c index ea91ec55bf..1c7718f1d2 100644 --- a/users/danielo515/danielo515.c +++ b/users/danielo515/danielo515.c | |||
| @@ -7,9 +7,9 @@ bool onMac = true; | |||
| 7 | LEADER_EXTERNS(); | 7 | LEADER_EXTERNS(); |
| 8 | # ifdef RGBLIGHT_ENABLE | 8 | # ifdef RGBLIGHT_ENABLE |
| 9 | 9 | ||
| 10 | void leader_start_user() { rgblight_setrgb_range(5, 100, 199, 10, 15); }; | 10 | void leader_start_user(void) { rgblight_setrgb_range(5, 100, 199, 10, 15); }; |
| 11 | 11 | ||
| 12 | void leader_end_user() { rgblight_setrgb_range(200, 200, 255, 10, 15); }; | 12 | void leader_end_user(void) { rgblight_setrgb_range(200, 200, 255, 10, 15); }; |
| 13 | # endif | 13 | # endif |
| 14 | 14 | ||
| 15 | void matrix_scan_user(void) { | 15 | void matrix_scan_user(void) { |
diff --git a/users/edvorakjp/edvorakjp.c b/users/edvorakjp/edvorakjp.c index c95b03d981..3d3b5b0ae5 100644 --- a/users/edvorakjp/edvorakjp.c +++ b/users/edvorakjp/edvorakjp.c | |||
| @@ -5,7 +5,7 @@ void matrix_init_user(void) { | |||
| 5 | matrix_init_keymap(); | 5 | matrix_init_keymap(); |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | __attribute__((weak)) void matrix_init_keymap() {} | 8 | __attribute__((weak)) void matrix_init_keymap(void) {} |
| 9 | 9 | ||
| 10 | layer_state_t layer_state_set_user(layer_state_t state) { | 10 | layer_state_t layer_state_set_user(layer_state_t state) { |
| 11 | state = update_tri_layer_state(state, L_EDVORAKJP_LOWER, L_EDVORAKJP_RAISE, L_EDVORAKJP_ADJUST); | 11 | state = update_tri_layer_state(state, L_EDVORAKJP_LOWER, L_EDVORAKJP_RAISE, L_EDVORAKJP_ADJUST); |
diff --git a/users/ericgebhart/extensions/oneshot.c b/users/ericgebhart/extensions/oneshot.c index 55c2fa1ae3..8d4dc2f29c 100644 --- a/users/ericgebhart/extensions/oneshot.c +++ b/users/ericgebhart/extensions/oneshot.c | |||
| @@ -50,7 +50,7 @@ static int8_t set_modifier_state_all(oneshot_state new_state); | |||
| 50 | static void set_modifier_state_all_from_to(oneshot_state oneshot_state_from, oneshot_state oneshot_state_to); | 50 | static void set_modifier_state_all_from_to(oneshot_state oneshot_state_from, oneshot_state oneshot_state_to); |
| 51 | static bool all_modifiers_are_off(void); | 51 | static bool all_modifiers_are_off(void); |
| 52 | 52 | ||
| 53 | int8_t turnoff_oneshot_modifiers() { | 53 | int8_t turnoff_oneshot_modifiers(void) { |
| 54 | return set_modifier_state_all(ONESHOT_STATE_OFF); | 54 | return set_modifier_state_all(ONESHOT_STATE_OFF); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| @@ -163,7 +163,7 @@ void set_modifier_state_all_from_to(oneshot_state oneshot_state_from, oneshot_st | |||
| 163 | } | 163 | } |
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | bool all_modifiers_are_off() { | 166 | bool all_modifiers_are_off(void) { |
| 167 | for (int8_t i = 0; i < ONESHOT_MOD_COUNT; i++) { | 167 | for (int8_t i = 0; i < ONESHOT_MOD_COUNT; i++) { |
| 168 | if (modifiers_with_state[i] != ONESHOT_STATE_OFF) { | 168 | if (modifiers_with_state[i] != ONESHOT_STATE_OFF) { |
| 169 | return false; | 169 | return false; |
diff --git a/users/ericgebhart/oled/oled_stuff.c b/users/ericgebhart/oled/oled_stuff.c index a73b5b174d..f2c4f0f394 100755 --- a/users/ericgebhart/oled/oled_stuff.c +++ b/users/ericgebhart/oled/oled_stuff.c | |||
| @@ -47,7 +47,7 @@ void oled_render_mod_status(uint8_t modifiers) { | |||
| 47 | oled_write_P(PSTR("G"), (modifiers & MOD_MASK_GUI)); | 47 | oled_write_P(PSTR("G"), (modifiers & MOD_MASK_GUI)); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | void oled_render_mod_lock_status(){ | 50 | void oled_render_mod_lock_status(void){ |
| 51 | oled_render_mod_status(get_mods() | get_oneshot_mods()); | 51 | oled_render_mod_status(get_mods() | get_oneshot_mods()); |
| 52 | oled_render_keylock_status(host_keyboard_leds()); | 52 | oled_render_keylock_status(host_keyboard_leds()); |
| 53 | } | 53 | } |
diff --git a/users/miles2go/babblePaste.c b/users/miles2go/babblePaste.c index cd032882bf..65c9981186 100644 --- a/users/miles2go/babblePaste.c +++ b/users/miles2go/babblePaste.c | |||
| @@ -23,7 +23,7 @@ __attribute__((weak)) void babble_modeswitch_kb(uint8_t mode) { babble_modeswitc | |||
| 23 | 23 | ||
| 24 | void set_babble_mode(uint8_t id) { babble_mode = id; } | 24 | void set_babble_mode(uint8_t id) { babble_mode = id; } |
| 25 | 25 | ||
| 26 | void babble_mode_increment() { | 26 | void babble_mode_increment(void) { |
| 27 | babble_mode += 1; | 27 | babble_mode += 1; |
| 28 | if (babble_mode >= BABL_MODEMAX) { | 28 | if (babble_mode >= BABL_MODEMAX) { |
| 29 | babble_mode = 0; | 29 | babble_mode = 0; |
| @@ -31,7 +31,7 @@ void babble_mode_increment() { | |||
| 31 | babble_modeswitch_kb(babble_mode); | 31 | babble_modeswitch_kb(babble_mode); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | void babble_mode_decrement() { | 34 | void babble_mode_decrement(void) { |
| 35 | if (babble_mode >= 1) { | 35 | if (babble_mode >= 1) { |
| 36 | babble_mode -= 1; | 36 | babble_mode -= 1; |
| 37 | } else { | 37 | } else { |
diff --git a/users/ninjonas/ninjonas.c b/users/ninjonas/ninjonas.c index d66a5b008c..8d37641aa3 100644 --- a/users/ninjonas/ninjonas.c +++ b/users/ninjonas/ninjonas.c | |||
| @@ -22,7 +22,7 @@ layer_state_t layer_state_set_user (layer_state_t state) { | |||
| 22 | #ifdef RGBLIGHT_ENABLE | 22 | #ifdef RGBLIGHT_ENABLE |
| 23 | extern rgblight_config_t rgblight_config; | 23 | extern rgblight_config_t rgblight_config; |
| 24 | #endif | 24 | #endif |
| 25 | void keyboard_post_init_user() { | 25 | void keyboard_post_init_user(void) { |
| 26 | #ifdef RGBLIGHT_ENABLE | 26 | #ifdef RGBLIGHT_ENABLE |
| 27 | // Cycles through the entire hue wheel and resetting to default color | 27 | // Cycles through the entire hue wheel and resetting to default color |
| 28 | uint16_t default_hue = rgblight_config.hue; | 28 | uint16_t default_hue = rgblight_config.hue; |
diff --git a/users/spidey3/layer_rgb.c b/users/spidey3/layer_rgb.c index 75a4b4c0a1..cff20898cd 100644 --- a/users/spidey3/layer_rgb.c +++ b/users/spidey3/layer_rgb.c | |||
| @@ -99,7 +99,7 @@ const rgblight_segment_t *const PROGMEM _rgb_layers[] = { | |||
| 99 | 99 | ||
| 100 | const uint8_t PROGMEM _n_rgb_layers = ARRAY_SIZE(_rgb_layers) - 1; | 100 | const uint8_t PROGMEM _n_rgb_layers = ARRAY_SIZE(_rgb_layers) - 1; |
| 101 | 101 | ||
| 102 | void clear_rgb_layers() { | 102 | void clear_rgb_layers(void) { |
| 103 | for (uint8_t i = 0; i < _n_rgb_layers; i++) { | 103 | for (uint8_t i = 0; i < _n_rgb_layers; i++) { |
| 104 | rgblight_set_layer_state(i, false); | 104 | rgblight_set_layer_state(i, false); |
| 105 | } | 105 | } |
diff --git a/users/talljoe/macros.c b/users/talljoe/macros.c index e9c9b521b7..1afc1ef7f6 100644 --- a/users/talljoe/macros.c +++ b/users/talljoe/macros.c | |||
| @@ -29,9 +29,9 @@ ostype_t get_os() { | |||
| 29 | 29 | ||
| 30 | #define MOD_SEND(KEY) (IS_OSX() ? SEND_STRING(SS_LCMD(KEY)) : SEND_STRING(SS_LCTL(KEY))) | 30 | #define MOD_SEND(KEY) (IS_OSX() ? SEND_STRING(SS_LCMD(KEY)) : SEND_STRING(SS_LCTL(KEY))) |
| 31 | 31 | ||
| 32 | void macro_copy() { MOD_SEND("c"); } | 32 | void macro_copy(void) { MOD_SEND("c"); } |
| 33 | void macro_paste() { MOD_SEND("v"); } | 33 | void macro_paste(void) { MOD_SEND("v"); } |
| 34 | void macro_lock() { | 34 | void macro_lock(void) { |
| 35 | if (IS_OSX()) { | 35 | if (IS_OSX()) { |
| 36 | SEND_STRING(SS_LCTL(SS_LCMD("q"))); | 36 | SEND_STRING(SS_LCTL(SS_LCMD("q"))); |
| 37 | } else { | 37 | } else { |
