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/event.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/event.c')
-rw-r--r-- | extra/libevent/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/libevent/event.c b/extra/libevent/event.c index 2042c2de626..07498c709c8 100644 --- a/extra/libevent/event.c +++ b/extra/libevent/event.c @@ -405,7 +405,7 @@ event_loopexit_cb(int fd __attribute__((unused)), int event_loopexit(struct timeval *tv) { - return (event_once(-1, EV_TIMEOUT, event_loopexit_cb, + return (event_once(-1, EV_TIMEOUT, &event_loopexit_cb, current_base, tv)); } |