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
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
struct k_work_q *zmk_display_work_q();
|
||||
struct k_work_q *zmk_display_work_q(void);
|
||||
|
||||
bool zmk_display_is_initialized();
|
||||
int zmk_display_init();
|
||||
bool zmk_display_is_initialized(void);
|
||||
int zmk_display_init(void);
|
||||
|
||||
/**
|
||||
* @brief Macro to define a ZMK event listener that handles the thread safety of fetching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue