diff options
author | Michael Widenius <monty@askmonty.org> | 2010-11-27 00:37:34 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2010-11-27 00:37:34 +0200 |
commit | 9ab4829bc6d37e0ffacc016ce09351e9bde8cf81 (patch) | |
tree | 6d2322142123186d4b150e50f2c06cf513b196f4 /extra/libevent/signal.c | |
parent | b8b3716ae029f2c550e1ec0b1e50ac01aabf5dc5 (diff) | |
download | mariadb-git-9ab4829bc6d37e0ffacc016ce09351e9bde8cf81.tar.gz |
Fixed compiler warnings and a compilation failure on windows
extra/libevent/event.c:
Tried to fix compiler warning on windows
extra/libevent/evutil.h:
Define __attribute__ for not gcc compilers
extra/libevent/kqueue.c:
Fixed compiler warnings
extra/libevent/signal.c:
Tried to fix compiler warning on windows
storage/pbxt/src/ha_pbxt.cc:
Fixed compiler warning about "variable might be clobbered by longjmp"
storage/pbxt/src/table_xt.cc:
Fixed compiler warnings (on windows)
storage/xtradb/handler/i_s.cc:
Fixed compiler warning by invoking the correct store function.
Diffstat (limited to 'extra/libevent/signal.c')
-rw-r--r-- | extra/libevent/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/libevent/signal.c b/extra/libevent/signal.c index 2df4b2e4a64..ce164f2f5ea 100644 --- a/extra/libevent/signal.c +++ b/extra/libevent/signal.c @@ -114,7 +114,7 @@ evsignal_init(struct event_base *base) evutil_make_socket_nonblocking(base->sig.ev_signal_pair[0]); event_set(&base->sig.ev_signal, base->sig.ev_signal_pair[1], - EV_READ | EV_PERSIST, evsignal_cb, &base->sig.ev_signal); + EV_READ | EV_PERSIST, &evsignal_cb, &base->sig.ev_signal); base->sig.ev_signal.ev_base = base; base->sig.ev_signal.ev_flags |= EVLIST_INTERNAL; } |