X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-common.c;h=e3d48d5131ffe9a4556495ed3fdc266df3b6f21c;hb=6721f5c4220d4d46c18b8d86c2195ff439a74155;hp=e8fe4b724ee2d3b0c379471b05a0f14dcef61005;hpb=d50bd20d0a95a87f4308bdd908f3d54aa0a01a5f;p=src%2Fapp-framework-binder.git diff --git a/src/afb-common.c b/src/afb-common.c index e8fe4b72..e3d48d51 100644 --- a/src/afb-common.c +++ b/src/afb-common.c @@ -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); }