Browse Source

Fix missing prototypes and mismatched prototypes in totemmrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1819 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 years ago
parent
commit
eec866ea9e
2 changed files with 3 additions and 2 deletions
  1. 1 0
      exec/totemmrp.c
  2. 2 2
      exec/totemmrp.h

+ 1 - 0
exec/totemmrp.c

@@ -58,6 +58,7 @@
 #include <corosync/totem/coropoll.h>
 #include <corosync/hdb.h>
 
+#include "totemmrp.h"
 #include "totemsrp.h"
 
 hdb_handle_t totemsrp_handle_in;

+ 2 - 2
exec/totemmrp.h

@@ -71,7 +71,7 @@ extern int totemmrp_initialize (
 		unsigned int *joined_list, int joined_list_entries,
 		struct memb_ring_id *ring_id));
 
-extern int totemmrp_finalize (void);
+extern void totemmrp_finalize (void);
 
 /*
  * Multicast a message
@@ -104,7 +104,7 @@ extern int totemmrp_ifaces_get (
 	char ***status,
 	unsigned int *iface_count);
 
-extern int totemmrp_my_nodeid_get (void);
+extern unsigned int totemmrp_my_nodeid_get (void);
 
 extern int totemmrp_my_family_get (void);