X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-wsj1.c;h=42d842e25f0526cbb96e0c24c22bec1ae6fd16fc;hb=8d322ebdd04d6de2d5649626bbc23aae0d0ed556;hp=068a332643c4615c6d8da22ec3a157f3e0279a3b;hpb=9ee05e42384b34d8626cd8cccfd50538136f369f;p=src%2Fapp-framework-binder.git diff --git a/src/afb-wsj1.c b/src/afb-wsj1.c index 068a3326..42d842e2 100644 --- a/src/afb-wsj1.c +++ b/src/afb-wsj1.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2016, 2017 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -79,7 +79,7 @@ struct afb_wsj1 struct wsj1_call *calls; }; -struct afb_wsj1 *afb_wsj1_create(int fd, struct afb_wsj1_itf *itf, void *closure) +struct afb_wsj1 *afb_wsj1_create(struct sd_event *eloop, int fd, struct afb_wsj1_itf *itf, void *closure) { struct afb_wsj1 *result; @@ -97,7 +97,7 @@ struct afb_wsj1 *afb_wsj1_create(int fd, struct afb_wsj1_itf *itf, void *closure if (result->tokener == NULL) goto error2; - result->ws = afb_ws_create(fd, &wsj1_itf, result); + result->ws = afb_ws_create(eloop, fd, &wsj1_itf, result); if (result->ws == NULL) goto error3;