From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladislav Shpilevoy Subject: [PATCH v2 10/11] evio: make code C compatible Date: Wed, 5 Dec 2018 00:28:47 +0300 Message-Id: <5de32046edfdd972b3227e673b4bd274f95fff95.1543958698.git.v.shpilevoy@tarantool.org> In-Reply-To: References: In-Reply-To: References: To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com List-ID: --- src/evio.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/evio.cc b/src/evio.cc index a3d1d8a13..8f5022bca 100644 --- a/src/evio.cc +++ b/src/evio.cc @@ -167,9 +167,10 @@ evio_service_name(struct evio_service *service) * callback. */ static void -evio_service_accept_cb(ev_loop * /* loop */, ev_io *watcher, - int /* revents */) +evio_service_accept_cb(ev_loop *loop, ev_io *watcher, int events) { + (void) loop; + (void) events; struct evio_service *service = (struct evio_service *) watcher->data; int fd; while (1) { -- 2.17.2 (Apple Git-113)