From d04b64003d9d7b934165ca0c0e1cdf0a2d3eb2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= Date: Tue, 30 Aug 2022 16:47:34 +0200 Subject: [PATCH] profiles: Fix function definition style This was found by checkpatch in previous commit: WARNING:SPACING: Unnecessary space before function pointer arguments 124: FILE: src/shared/bap.h:123: + int (*select) (struct bt_bap_pac *lpac, struct bt_bap_pac *rpac, Do the same for (*config) and (*clear) for consistence. --- src/shared/bap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/bap.h b/src/shared/bap.h index 93b00d771..b63b4b024 100644 --- a/src/shared/bap.h +++ b/src/shared/bap.h @@ -123,10 +123,10 @@ struct bt_bap_pac_ops { int (*select)(struct bt_bap_pac *lpac, struct bt_bap_pac *rpac, struct bt_bap_pac_qos *qos, bt_bap_pac_select_t cb, void *cb_data, void *user_data); - int (*config) (struct bt_bap_stream *stream, struct iovec *cfg, + int (*config)(struct bt_bap_stream *stream, struct iovec *cfg, struct bt_bap_qos *qos, bt_bap_pac_config_t cb, void *user_data); - void (*clear) (struct bt_bap_stream *stream, void *user_data); + void (*clear)(struct bt_bap_stream *stream, void *user_data); }; bool bt_bap_pac_set_ops(struct bt_bap_pac *pac, struct bt_bap_pac_ops *ops, -- 2.47.3