diff options
author | Amitay Isaacs <amitay@gmail.com> | 2015-10-26 16:50:09 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2015-10-30 02:00:27 +0100 |
commit | 2fdb332fad541efd34be749e55a07569ce2b4ef4 (patch) | |
tree | d84629d392241f089b1d5dc7e025573938e57b3c /ctdb/utils | |
parent | 7084cb92e2b30134b2d5c9017a558f9e7b7696fe (diff) | |
download | samba-2fdb332fad541efd34be749e55a07569ce2b4ef4.tar.gz |
ctdb-daemon: Stop using tevent compatibility definitions
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/utils')
-rw-r--r-- | ctdb/utils/pmda/pmda_ctdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/utils/pmda/pmda_ctdb.c b/ctdb/utils/pmda/pmda_ctdb.c index f1a90c48b86..ca897b16c21 100644 --- a/ctdb/utils/pmda/pmda_ctdb.c +++ b/ctdb/utils/pmda/pmda_ctdb.c @@ -159,7 +159,7 @@ static pmdaMetric metrictab[] = { PMDA_PMUNITS(0,0,0,0,0,0) }, }, }; -static struct event_context *ev; +static struct tevent_context *ev; static struct ctdb_context *ctdb; static struct ctdb_statistics *stats; @@ -183,7 +183,7 @@ pmda_ctdb_daemon_connect(void) int ret; struct sockaddr_un addr; - ev = event_context_init(NULL); + ev = tevent_context_init(NULL); if (ev == NULL) { fprintf(stderr, "Failed to init event ctx\n"); return -1; |