Corosync didn't compile:

    totemnet.c:1669: error: conflicting types for ‘totemnet_initialize’
    totemnet.h:53: error: previous declaration of ‘totemnet_initialize’ was here

Here's the fix:

From efc4d90dc591d5bbf00e4222fc780400ebc86502 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Mon, 11 May 2009 18:42:38 +0200
Subject: [PATCH] totemnet.c: Make totemnet_initialize definition match 
just-changed decl.

* exec/totemnet.c (totemnet_initialize): Declare deliver_fn's msg_len
parameter to be of type "unsigned int" (not size_t) to match decl.
---
 exec/totemnet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec/totemnet.c b/exec/totemnet.c
index 5c38e34..2422572 100644
--- a/exec/totemnet.c
+++ b/exec/totemnet.c
@@ -1676,7 +1676,7 @@ int totemnet_initialize (
        void (*deliver_fn) (
                void *context,
                const void *msg,
-               size_t msg_len),
+               unsigned int msg_len),

        void (*iface_change_fn) (
                void *context,
--
1.6.3.48.g99c76
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to