diff --git a/uv-win.c b/uv-win.c index bcc361f2..60d37afa 100644 --- a/uv-win.c +++ b/uv-win.c @@ -143,7 +143,7 @@ static LPFN_TRANSMITFILE pTransmitFile; /* Binary tree used to keep the list of timers sorted. */ static int uv_timer_compare(uv_timer_t* handle1, uv_timer_t* handle2); RB_HEAD(uv_timer_tree_s, uv_timer_s); -RB_PROTOTYPE_STATIC(uv_timer_tree_s, uv_timer_s, tree_entry, uv_timer_compare); +RB_PROTOTYPE_STATIC(uv_timer_tree_s, uv_timer_s, tree_entry, uv_timer_compare) /* The head of the timers tree */ static struct uv_timer_tree_s uv_timers_ = RB_INITIALIZER(uv_timers_); diff --git a/uv.h b/uv.h index 4650f469..1161493f 100644 --- a/uv.h +++ b/uv.h @@ -65,7 +65,7 @@ typedef void (*uv_connection_cb)(uv_tcp_t* server, int status); typedef void (*uv_close_cb)(uv_handle_t* handle); /* TODO: do loop_cb and async_cb really need a status argument? */ typedef void (*uv_loop_cb)(uv_handle_t* handle, int status); -typedef void (*uv_async_cb)(uv_handle_t* handle, int stats); +typedef void (*uv_async_cb)(uv_handle_t* handle, int status); /* Expand this list if necessary. */