Explorar o código

totempg.c: remove one const-related warning

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1921 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering %!s(int64=17) %!d(string=hai) anos
pai
achega
b94d4f6ae4
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      exec/totempg.c
  2. 2 2
      include/corosync/totem/totempg.h

+ 2 - 2
exec/totempg.c

@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2003-2005 MontaVista Software, Inc.
  * Copyright (c) 2005 OSDL.
- * Copyright (c) 2006-2008 Red Hat, Inc.
+ * Copyright (c) 2006-2009 Red Hat, Inc.
  *
  * All rights reserved.
  *
@@ -1144,7 +1144,7 @@ error_exit:
 
 int totempg_groups_joined_reserve (
 	hdb_handle_t handle,
-	struct iovec *iovec,
+	const struct iovec *iovec,
 	int iov_len)
 {
 	struct totempg_group_instance *instance;

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

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2003-2005 MontaVista Software, Inc.
- * Copyright (c) 2006-2007 Red Hat, Inc.
+ * Copyright (c) 2006-2007, 2009 Red Hat, Inc.
  *
  * All rights reserved.
  *
@@ -112,7 +112,7 @@ extern int totempg_groups_mcast_joined (
 
 extern int totempg_groups_joined_reserve (
 	hdb_handle_t handle,
-	struct iovec *iovec,
+	const struct iovec *iovec,
 	int iov_len);
 
 extern void totempg_groups_joined_release (