mirror of https://github.com/getdnsapi/getdns.git
Fix compiling with libevent1
This commit is contained in:
parent
d1c7c8dbc6
commit
905b4bcc8c
|
@ -63,18 +63,6 @@ event_new(struct event_base *b, evutil_socket_t fd, short ev, void* cb, void *ar
|
|||
event_base_set(b, e);
|
||||
return e;
|
||||
}
|
||||
|
||||
static struct event_base *
|
||||
event_get_base(const struct event *ev)
|
||||
{
|
||||
return ev->ev_base;
|
||||
}
|
||||
|
||||
static evutil_socket_t df
|
||||
event_get_fd(const struct event *ev)
|
||||
{
|
||||
return ev->fd;
|
||||
}
|
||||
#endif /* no event2 */
|
||||
|
||||
typedef struct getdns_libevent {
|
||||
|
|
Loading…
Reference in New Issue