Skip to content

Commit

Permalink
Deal with g++ bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed May 7, 2014
1 parent d634f38 commit a7f457e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/rdns_ev.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,16 @@ static void
rdns_bind_libev (struct rdns_resolver *resolver, struct ev_loop *loop)
{
static struct rdns_async_context ev_ctx = {
.data = NULL,
.add_read = rdns_libev_add_read,
.del_read = rdns_libev_del_read,
.add_write = rdns_libev_add_write,
.del_write = rdns_libev_del_write,
.add_timer = rdns_libev_add_timer,
.add_periodic = rdns_libev_add_periodic,
.del_periodic = rdns_libev_del_periodic,
.repeat_timer = rdns_libev_repeat_timer,
.del_timer = rdns_libev_del_timer,
.add_periodic = rdns_libev_add_periodic,
.del_periodic = rdns_libev_del_periodic,
.cleanup = NULL
}, *nctx;
void *ptr;
Expand Down

0 comments on commit a7f457e

Please sign in to comment.