diff options
author | Zhang Nan <zhangnan.fnst@cn.fujitsu.com> | 2020-07-15 17:55:35 +0800 |
---|---|---|
committer | Zhang Nan <zhangnan.fnst@cn.fujitsu.com> | 2020-07-15 17:57:34 +0800 |
commit | a097eba730c5d30fb4e8ae62b02ac6d4e4b50556 (patch) | |
tree | 01d2839e5b58296df1ade0c2a0f20fd4d4e30247 | |
parent | 03193c0a80b05e6f5a263dafa064089885ad8d0a (diff) |
Replace afb_binding_v3 with afb_binding_tkoi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.0jellyfish_9.99.4jellyfish/9.99.49.99.410.93.010.92.010.91.0
Refer:
https://docs.automotivelinux.org/docs/en/master/apis_services/reference/af-binder/reference-v3/types-and-globals.html
Bug-AGL: SPEC-3499
Signed-off-by: Qiu Tingting <qiutt@cn.fujitsu.com>
Signed-off-by: Zhang Nan <zhangnan.fnst@cn.fujitsu.com>
Change-Id: I2dd6c3a164d498cd8fb7fba2b1cda3fb221ec584
-rw-r--r-- | binding/afm-geoclue-binding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/afm-geoclue-binding.c b/binding/afm-geoclue-binding.c index 884c252..07b19e1 100644 --- a/binding/afm-geoclue-binding.c +++ b/binding/afm-geoclue-binding.c @@ -182,7 +182,7 @@ static void unsubscribe(afb_req_t request) afb_req_fail(request, "failed", "Invalid event"); } -static const struct afb_verb_v3 binding_verbs[] = { +static const afb_verb_t binding_verbs[] = { { .verb = "location", .callback = get_data, .info = "Get GeoClue coordinates" }, { .verb = "subscribe", .callback = subscribe, .info = "Subscribe to GeoClue events" }, { .verb = "unsubscribe", .callback = unsubscribe, .info = "Unsubscribe to GeoClue events" }, @@ -192,7 +192,7 @@ static const struct afb_verb_v3 binding_verbs[] = { /* * binder API description */ -const struct afb_binding_v3 afbBindingV3 = { +const afb_binding_t afbBindingV3 = { .api = "geoclue", .specification = "GeoClue service API", .verbs = binding_verbs, |