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

Add a dummy parameter to totemip_iface check so that it compiles on Darwin.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1864 fd59a12c-fef9-0310-b244-a6a79926bd2f
Christine Caulfield 17 лет назад
Родитель
Сommit
359fc86601
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      exec/totemip.c

+ 2 - 1
exec/totemip.c

@@ -314,7 +314,8 @@ int totemip_sockaddr_to_totemip_convert(struct sockaddr_storage *saddr, struct t
 int totemip_iface_check(struct totem_ip_address *bindnet,
 			struct totem_ip_address *boundto,
 			int *interface_up,
-			int *interface_num)
+			int *interface_num,
+			int mask_high_bit)
 {
 #define NEXT_IFR(a)	((struct ifreq *)((u_char *)&(a)->ifr_addr +\
 	((a)->ifr_addr.sa_len ? (a)->ifr_addr.sa_len : sizeof((a)->ifr_addr))))