aboutsummaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
Diffstat (limited to 'binding')
-rw-r--r--binding/afm-geoclue-binding.c4
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,