[PATCH v2 10/11] evio: make code C compatible
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Wed Dec 5 00:28:47 MSK 2018
---
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)
More information about the Tarantool-patches
mailing list