mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
r17185@catbus: nickm | 2007-12-16 14:33:40 -0500
Fix compilation with --enable-gcc-warnings enabled. svn:r599
This commit is contained in:
parent
d56a34e466
commit
d80c1c3689
2
epoll.c
2
epoll.c
@ -152,7 +152,7 @@ epoll_init(struct event_base *base)
|
|||||||
return (epollop);
|
return (epollop);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
epoll_recalc(struct event_base *base, void *arg, int max)
|
epoll_recalc(struct event_base *base, void *arg, int max)
|
||||||
{
|
{
|
||||||
struct epollop *epollop = arg;
|
struct epollop *epollop = arg;
|
||||||
|
@ -66,6 +66,8 @@
|
|||||||
#include "mm-internal.h"
|
#include "mm-internal.h"
|
||||||
|
|
||||||
int evtag_decode_int(uint32_t *pnumber, struct evbuffer *evbuf);
|
int evtag_decode_int(uint32_t *pnumber, struct evbuffer *evbuf);
|
||||||
|
int evtag_encode_tag(struct evbuffer *evbuf, uint32_t tag);
|
||||||
|
int evtag_decode_tag(uint32_t *ptag, struct evbuffer *evbuf);
|
||||||
|
|
||||||
static struct evbuffer *_buf; /* not thread safe */
|
static struct evbuffer *_buf; /* not thread safe */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user