lint: add (void) parameter to pass -Wstrict-prototypes
Note there was one place where a non-strict prototype was actually being used with an argument, in `zmk_hog_init`. In this case, the actual argument type was added instead.
This commit is contained in:
parent
5257cde1f5
commit
7a5155f36e
28 changed files with 117 additions and 109 deletions
|
|
@ -322,7 +322,7 @@ static int zmk_endpoints_init(const struct device *_arg) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void disconnect_current_endpoint() {
|
||||
static void disconnect_current_endpoint(void) {
|
||||
zmk_hid_keyboard_clear();
|
||||
zmk_hid_consumer_clear();
|
||||
#if IS_ENABLED(CONFIG_ZMK_MOUSE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue