diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libevent/evbuffer.c | 3 | ||||
-rw-r--r-- | extra/libevent/event.c | 3 | ||||
-rw-r--r-- | extra/libevent/signal.c | 2 |
3 files changed, 3 insertions, 5 deletions
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; /* diff --git a/extra/libevent/event.c b/extra/libevent/event.c index 2042c2de626..e96c1b6a3ab 100644 --- a/extra/libevent/event.c +++ b/extra/libevent/event.c @@ -394,8 +394,7 @@ event_base_get_method(struct event_base *base) } static void -event_loopexit_cb(int fd __attribute__((unused)), - short what __attribute__((unused)), void *arg) +event_loopexit_cb(int fd, short what, void *arg) { struct event_base *base = arg; base->event_gotterm = 1; diff --git a/extra/libevent/signal.c b/extra/libevent/signal.c index c4a1d0da167..964ae37fed2 100644 --- a/extra/libevent/signal.c +++ b/extra/libevent/signal.c @@ -69,7 +69,7 @@ static void evsignal_handler(int sig); /* Callback for when the signal handler write a byte to our signaling socket */ static void -evsignal_cb(int fd, short what __attribute((unused)), void *arg __attribute((unused))) +evsignal_cb(int fd, short what, void *arg) { static char signals[100]; #ifdef WIN32 |