aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-04-05 18:01:04 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-04-05 18:30:54 -0700
commitd1dd3f5e9a377a4919f3cb712455e739ce4e0e89 (patch)
tree162bc02523b95d7785a008916f121b8ea7fa1600
parentcb2514f3253fb842aa7973001cc1a394afbdd5e6 (diff)
binding: bluetooth: remove versioning references in structs
In order to upgrade to future versions easier don't use versioned structs but the respective typedefs Change-Id: Ic789dc7c74e0a2a1352effa1cfeea4998cbc56f3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--binding/bluetooth-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/bluetooth-api.c b/binding/bluetooth-api.c
index 8905c6a..8b7d66a 100644
--- a/binding/bluetooth-api.c
+++ b/binding/bluetooth-api.c
@@ -1311,7 +1311,7 @@ static void bluetooth_version(afb_req_t request)
afb_req_success(request, jresp, "Bluetooth - Binding version");
}
-static const struct afb_verb_v3 bluetooth_verbs[] = {
+static const afb_verb_t bluetooth_verbs[] = {
{
.verb = "subscribe",
.session = AFB_SESSION_NONE,
@@ -1384,7 +1384,7 @@ static const struct afb_verb_v3 bluetooth_verbs[] = {
/*
* description of the binding for afb-daemon
*/
-const struct afb_binding_v3 afbBindingV3 = {
+const afb_binding_t afbBindingV3 = {
.api = "Bluetooth-Manager",
.specification = "bluetooth manager API",
.verbs = bluetooth_verbs,