Misc. cleanups
This commit is contained in:
parent
9b1123b219
commit
4809de9cf2
2
uv-win.c
2
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_);
|
||||
|
||||
2
uv.h
2
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. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user