Просмотр исходного кода

Merge trunk revision 2521:
r2521 | asalkeld | 2009-10-13 01:13:53 -0700 (Tue, 13 Oct 2009) | 2 lines

Fix the OSX build (broken by stats patches)



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2595 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 лет назад
Родитель
Сommit
bea0a9206b
2 измененных файлов с 1 добавлено и 2 удалено
  1. 1 1
      exec/coroipcs.c
  2. 0 1
      tools/corosync-objctl.c

+ 1 - 1
exec/coroipcs.c

@@ -1103,7 +1103,7 @@ int coroipcs_response_iov_send (void *conn, const struct iovec *iov, unsigned in
 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)) {

+ 0 - 1
tools/corosync-objctl.c

@@ -51,7 +51,6 @@
 #define SEPERATOR_STR "."
 #define OBJ_NAME_SIZE 512
 
-extern int isblank(int c);
 
 typedef enum {
 	ACTION_READ,