X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fafb-common.c;h=2b16e573d451426760ec0012d475373d30bf1caa;hb=c94e1ef88adc641ebbab57377b97f8a7b6a70d1b;hp=e8fe4b724ee2d3b0c379471b05a0f14dcef61005;hpb=5dd6480727cc1ecb12483fc4d971d73176505748;p=src%2Fapp-framework-binder.git diff --git a/src/afb-common.c b/src/afb-common.c index e8fe4b72..2b16e573 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); }