From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 5 Dec 2018 11:56:41 +0300 From: Vladimir Davydov Subject: Re: [PATCH v2 10/11] evio: make code C compatible Message-ID: <20181205085641.xeqwhhk6zzy4h3sj@esperanza> References: <5de32046edfdd972b3227e673b4bd274f95fff95.1543958698.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5de32046edfdd972b3227e673b4bd274f95fff95.1543958698.git.v.shpilevoy@tarantool.org> To: Vladislav Shpilevoy Cc: tarantool-patches@freelists.org List-ID: On Wed, Dec 05, 2018 at 12:28:47AM +0300, Vladislav Shpilevoy wrote: > --- > 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) { This doesn't deserve a separate patch. Squash it into patch 11 please. No need to resend the patch.