Explorar el Código

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 hace 17 años
padre
commit
921a5a8417
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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 (
 int totempg_groups_mcast_joined (
 	hdb_handle_t handle,
 	hdb_handle_t handle,
-	struct iovec *iovec,
+	const struct iovec *iovec,
 	int iov_len,
 	int iov_len,
 	int guarantee)
 	int guarantee)
 {
 {

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

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