X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-common.c;h=3bd5514e67c5805f59b44fe8c7acb702f20ce4de;hb=f2584b67445ca63d3ec8e4a11202a19250434fc8;hp=e8fe4b724ee2d3b0c379471b05a0f14dcef61005;hpb=5dd6480727cc1ecb12483fc4d971d73176505748;p=src%2Fapp-framework-binder.git diff --git a/src/afb-common.c b/src/afb-common.c index e8fe4b72..3bd5514e 100644 --- a/src/afb-common.c +++ b/src/afb-common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 "IoT.bzh" + * Copyright (C) 2015, 2016 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -69,7 +69,7 @@ static struct sd_bus *sdbusopen(struct sd_bus **p, int (*f)(struct sd_bus **)) struct sd_event *afb_common_get_event_loop() { - static sd_event *result = NULL; + static struct sd_event *result = NULL; return sdopen((void*)&result, (void*)sd_event_new); }