From: Jim Meyering <[email protected]>

* lib/cpg.c (cpg_mcast_joined): make iovec const.
* include/corosync/cpg.h (cpg_mcast_joined): update prototype
---
 include/corosync/cpg.h |    4 ++--
 lib/cpg.c              |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/corosync/cpg.h b/include/corosync/cpg.h
index 7ed5a98..49ea480 100644
--- a/include/corosync/cpg.h
+++ b/include/corosync/cpg.h
@@ -130,7 +130,7 @@ cs_error_t cpg_fd_get (
        cpg_handle_t handle,
        int *fd);

-/* 
+/*
  * Get and set contexts for a CPG handle
  */
 cs_error_t cpg_context_get (
@@ -174,7 +174,7 @@ cs_error_t cpg_leave (
 cs_error_t cpg_mcast_joined (
        cpg_handle_t handle,
        cpg_guarantee_t guarantee,
-       struct iovec *iovec,
+       const struct iovec *iovec,
        int iov_len);

 /*
diff --git a/lib/cpg.c b/lib/cpg.c
index 1a66630..2887e0d 100644
--- a/lib/cpg.c
+++ b/lib/cpg.c
@@ -492,7 +492,7 @@ error_exit:
 cs_error_t cpg_mcast_joined (
        cpg_handle_t handle,
        cpg_guarantee_t guarantee,
-       struct iovec *iovec,
+       const struct iovec *iovec,
        int iov_len)
 {
        int i;
-- 
1.6.2.rc1.285.gc5f54

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to