[tarantool-patches] Re: [PATCH v2 10/11] evio: make code C compatible

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Dec 5 23:07:03 MSK 2018



On 05/12/2018 11:56, Vladimir Davydov wrote:
> 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.
> 

Done on the branch.



More information about the Tarantool-patches mailing list