This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: master - cman: make it compile with latest corosync


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=660c6e6907205fed807bc8a0527fc03b40f9f3b9
Commit:        660c6e6907205fed807bc8a0527fc03b40f9f3b9
Parent:        b732a4ace218d70ccda4879b2b3a20b1216ea564
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Mon Dec 1 14:53:55 2008 +0000
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Mon Dec 1 14:53:55 2008 +0000

cman: make it compile with latest corosync

corosync_tpg_handle was renamed to cs_tpg_handle for some reason.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 cman/daemon/ais.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/ais.c b/cman/daemon/ais.c
index bce0f9f..e12285a 100644
--- a/cman/daemon/ais.c
+++ b/cman/daemon/ais.c
@@ -15,6 +15,7 @@
 #include <netdb.h>
 
 /* corosync headers */
+#include <corosync/corotypes.h>
 #include <corosync/ipc_gen.h>
 #include <corosync/engine/coroapi.h>
 #include <corosync/engine/logsys.h>
@@ -53,7 +54,7 @@ static unsigned int debug_mask;
 static int first_trans = 1;
 struct corosync_api_v1 *corosync;
 
-static corosync_tpg_handle group_handle;
+static cs_tpg_handle group_handle;
 static struct corosync_tpg_group cman_group[1] = {
         { .group          = "CMAN", .group_len      = 4},
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]