diff options
author | Ryan <fauxpark@gmail.com> | 2023-01-21 03:21:17 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 16:21:17 +0000 |
commit | cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch) | |
tree | cb7dc41b774171ce7036f963941ce801e868d8cd /keyboards/gboards | |
parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'keyboards/gboards')
-rw-r--r-- | keyboards/gboards/butterstick/sten.c | 2 | ||||
-rw-r--r-- | keyboards/gboards/engine/engine.c | 4 | ||||
-rw-r--r-- | keyboards/gboards/g/engine.c | 4 | ||||
-rw-r--r-- | keyboards/gboards/georgi/sten.c | 2 |
4 files changed, 6 insertions, 6 deletions
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++) |