Revert earlier change that removes warnings, but breaks Windows compilation.

This commit is contained in:
unknown 2010-01-07 14:00:06 +01:00
parent 951e92b264
commit 5b60ec399b
2 changed files with 2 additions and 5 deletions

View file

@ -185,9 +185,7 @@ devpoll_init(struct event_base *base)
}
static int
devpoll_recalc(struct event_base *base __attribute__((unused)),
void *arg __attribute__((unused)),
int max)
devpoll_recalc(struct event_base *base, void *arg, int max)
{
struct devpollop *devpollop = arg;

View file

@ -75,8 +75,7 @@ bufferevent_add(struct event *ev, int timeout)
*/
void
bufferevent_read_pressure_cb(struct evbuffer *buf,
size_t old __attribute__((unused)), size_t now,
bufferevent_read_pressure_cb(struct evbuffer *buf, size_t old, size_t now,
void *arg) {
struct bufferevent *bufev = arg;
/*