diff options
author | unknown <knielsen@knielsen-hq.org> | 2010-01-07 14:00:06 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2010-01-07 14:00:06 +0100 |
commit | 5b60ec399bb620dd7ff35c73422b80073b8f5330 (patch) | |
tree | 0dfecd61a47ee4af470b799d86f708334c46af6c /extra | |
parent | 951e92b2640793e4bfe4d02b8220266945326c0d (diff) | |
download | mariadb-git-5b60ec399bb620dd7ff35c73422b80073b8f5330.tar.gz |
Revert earlier change that removes warnings, but breaks Windows compilation.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libevent/devpoll.c | 4 | ||||
-rw-r--r-- | extra/libevent/evbuffer.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/extra/libevent/devpoll.c b/extra/libevent/devpoll.c index 6d8bc82c641..20813380b20 100644 --- a/extra/libevent/devpoll.c +++ b/extra/libevent/devpoll.c @@ -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; diff --git a/extra/libevent/evbuffer.c b/extra/libevent/evbuffer.c index 758143c8225..6fe791380ea 100644 --- a/extra/libevent/evbuffer.c +++ b/extra/libevent/evbuffer.c @@ -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; /* |