From 7eba64b591678e8e150ca5da0ea3537c3dd4db1f Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Thu, 4 Apr 2019 17:53:30 -0700 Subject: binding: network: remove versioning references in structs In order to upgrade to future versions easier don't use versioned structs but the respective typedefs Change-Id: Ib61ed769d16907a7c3842206f2168b503001cac1 Signed-off-by: Matt Ranostay --- binding/network-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/network-api.c b/binding/network-api.c index bf8edca..0206973 100644 --- a/binding/network-api.c +++ b/binding/network-api.c @@ -1699,7 +1699,7 @@ static void network_agent_response(afb_req_t request) afb_req_success_f(request, NULL, "Network - agent response sent"); } -static const struct afb_verb_v3 network_verbs[] = { +static const afb_verb_t network_verbs[] = { { .verb = "subscribe", .session = AFB_SESSION_NONE, @@ -1788,7 +1788,7 @@ static const struct afb_verb_v3 network_verbs[] = { /* * description of the binding for afb-daemon */ -const struct afb_binding_v3 afbBindingV3 = { +const afb_binding_t afbBindingV3 = { .api = "network-manager", /* the API name (or binding name or prefix) */ .specification = "networking API", /* short description of of the binding */ .verbs = network_verbs, /* the array describing the verbs of the API */ -- cgit 1.2.3-korg