Răsfoiți Sursa

totempg.c: remove one const-related warning

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1923 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 ani în urmă
părinte
comite
921a5a8417
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      exec/totempg.c
  2. 1 1
      include/corosync/totem/totempg.h

+ 1 - 1
exec/totempg.c

@@ -1101,7 +1101,7 @@ error_exit:
 
 int totempg_groups_mcast_joined (
 	hdb_handle_t handle,
-	struct iovec *iovec,
+	const struct iovec *iovec,
 	int iov_len,
 	int guarantee)
 {

+ 1 - 1
include/corosync/totem/totempg.h

@@ -106,7 +106,7 @@ extern int totempg_groups_leave (
 
 extern int totempg_groups_mcast_joined (
 	hdb_handle_t handle,
-	struct iovec *iovec,
+	const struct iovec *iovec,
 	int iov_len,
 	int guarantee);