r17185@catbus: nickm | 2007-12-16 14:33:40 -0500

Fix compilation with --enable-gcc-warnings enabled.


svn:r599
This commit is contained in:
Nick Mathewson 2007-12-16 19:34:09 +00:00
parent d56a34e466
commit d80c1c3689
2 changed files with 3 additions and 1 deletions

View File

@ -152,7 +152,7 @@ epoll_init(struct event_base *base)
return (epollop);
}
int
static int
epoll_recalc(struct event_base *base, void *arg, int max)
{
struct epollop *epollop = arg;

View File

@ -66,6 +66,8 @@
#include "mm-internal.h"
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 */