[Openais] [PATCH corosync/trunk] fix compiling on OSX

Angus Salkeld angus.salkeld at gmail.com
Tue Oct 13 01:03:08 PDT 2009


This is a resend, this time as an attachment.

Regards
Angus Salkeld
-------------- next part --------------
Index: exec/coroipcs.c
===================================================================
--- exec/coroipcs.c	(revision 2520)
+++ exec/coroipcs.c	(working copy)
@@ -1103,7 +1103,7 @@
 retry_semop:
 	res = semop (conn_info->semid, &sop, 1);
 	if ((res == -1) && (errno == EINTR || errno == EAGAIN)) {
-		api->stats_increment_value (conn_info->stats_handle, "sem_retry_count");
+		stats_api->stats_increment_value (conn_info->stats_handle, "sem_retry_count");
 		goto retry_semop;
 	} else
 	if ((res == -1) && (errno == EINVAL || errno == EIDRM)) {
Index: tools/corosync-objctl.c
===================================================================
--- tools/corosync-objctl.c	(revision 2520)
+++ tools/corosync-objctl.c	(working copy)
@@ -51,7 +51,6 @@
 #define SEPERATOR_STR "."
 #define OBJ_NAME_SIZE 512
 
-extern int isblank(int c);
 
 typedef enum {
 	ACTION_READ,


More information about the Openais mailing list