From 0ee3ce98e49d9a674305a70b169ee44ec134ecc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 19 Mar 2014 09:28:44 +0100 Subject: [PATCH] osx: fix compilation warning Remove leftover status argument uv_async_t callbacks --- src/unix/fsevents.c | 2 +- src/unix/stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/fsevents.c b/src/unix/fsevents.c index f9c3a400..1c7896d8 100644 --- a/src/unix/fsevents.c +++ b/src/unix/fsevents.c @@ -177,7 +177,7 @@ static void (*pFSEventStreamStop)(FSEventStreamRef); /* Runs in UV loop's thread, when there're events to report to handle */ -static void uv__fsevents_cb(uv_async_t* cb, int status) { +static void uv__fsevents_cb(uv_async_t* cb) { uv_fs_event_t* handle; handle = cb->data; diff --git a/src/unix/stream.c b/src/unix/stream.c index 76da0618..e1f66030 100644 --- a/src/unix/stream.c +++ b/src/unix/stream.c @@ -224,7 +224,7 @@ static void uv__stream_osx_select(void* arg) { } -static void uv__stream_osx_select_cb(uv_async_t* handle, int status) { +static void uv__stream_osx_select_cb(uv_async_t* handle) { uv__stream_select_t* s; uv_stream_t* stream; int events;