From d1dd3f5e9a377a4919f3cb712455e739ce4e0e89 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Fri, 5 Apr 2019 18:01:04 -0700 Subject: 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 --- binding/bluetooth-api.c | 4 ++-- 1 file 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, -- cgit 1.2.3-korg