forked from kofal.net/zmk
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:
committed by
Pete Johanson
parent
5257cde1f5
commit
7a5155f36e
@@ -561,7 +561,7 @@ static void split_central_process_connection(struct bt_conn *conn) {
|
||||
start_scanning();
|
||||
}
|
||||
|
||||
static int stop_scanning() {
|
||||
static int stop_scanning(void) {
|
||||
LOG_DBG("Stopping peripheral scanning");
|
||||
is_scanning = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user