summaryrefslogtreecommitdiffstats
path: root/keyboards/satan
diff options
context:
space:
mode:
authorOle Anders <git@swoy.org>2017-03-28 17:08:01 +0200
committerOle Anders <git@swoy.org>2017-03-28 17:08:01 +0200
commit256abc64d5daee6d7526d33455f6f28cc782dee1 (patch)
tree786ecf32393ce9414f1c6fd4da7509efbc76d7fe /keyboards/satan
parent1b821eca663fb6cbe13ea1753f220bce5a7636a6 (diff)
downloadqmk_firmware-256abc64d5daee6d7526d33455f6f28cc782dee1.tar.gz
qmk_firmware-256abc64d5daee6d7526d33455f6f28cc782dee1.tar.xz
fixed function to not accept any arguments.
As per Pramod's comment on stack overflow: In C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments. In C++ they mean the same thing. I suggest that you use void consistently when you mean no arguments.
Diffstat (limited to 'keyboards/satan')
-rw-r--r--keyboards/satan/keymaps/admiralStrokers/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/satan/keymaps/admiralStrokers/keymap.c b/keyboards/satan/keymaps/admiralStrokers/keymap.c
index 72a4c3dc9..7a8459eb5 100644
--- a/keyboards/satan/keymaps/admiralStrokers/keymap.c
+++ b/keyboards/satan/keymaps/admiralStrokers/keymap.c
@@ -146,7 +146,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { // MACRODOWN only works in this function
- bool checkTime(){
+ bool checkTime(void){
return (timer_elapsed(key_timer) < 150) ? true : false;
}