Fix signature on clear timeout for extensions

This commit is contained in:
Neel Goyal 2014-02-06 00:10:35 -05:00
parent 48aacf6c96
commit d8f8eeca52
3 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ getdns_libevent_schedule_timeout(struct getdns_context* context,
static getdns_return_t
getdns_libevent_clear_timeout(struct getdns_context* context,
void* eventloop_data, void** eventloop_timer) {
void* eventloop_data, void* eventloop_timer) {
struct event* ev = (struct event*) eventloop_timer;
event_del(ev);
event_free(ev);

View File

@ -99,7 +99,7 @@ getdns_libuv_schedule_timeout(struct getdns_context* context,
static getdns_return_t
getdns_libuv_clear_timeout(struct getdns_context* context,
void* eventloop_data, void** eventloop_timer) {
void* eventloop_data, void* eventloop_timer) {
uv_timer_t* timer = (uv_timer_t*) eventloop_timer;
uv_timer_stop(timer);
uv_close((uv_handle_t*) timer, getdns_libuv_close_cb);

View File

@ -259,7 +259,7 @@ typedef getdns_return_t (*getdns_eventloop_schedule_timeout_t)(struct getdns_con
getdns_timeout_data_t* timeout_data,
void** eventloop_timer);
typedef getdns_return_t (*getdns_eventloop_clear_timeout_t)(struct getdns_context* context,
void* eventloop_data, void** eventloop_timer);
void* eventloop_data, void* eventloop_timer);
typedef struct getdns_eventloop_extension {