This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: master - cman: fix signatures of cman_get_privdata &cman_set_privdata
- From: Christine Caulfield <chrissie at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 19 Nov 2008 11:17:15 +0000 (UTC)
- Subject: cluster: master - cman: fix signatures of cman_get_privdata &cman_set_privdata
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ebbedc66dcca210bfaee651fc053bfc093f19b06
Commit: ebbedc66dcca210bfaee651fc053bfc093f19b06
Parent: 08ad05091ab2b390feb68944e46ffbcb12cec247
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Wed Nov 19 11:16:30 2008 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Nov 19 11:16:30 2008 +0000
cman: fix signatures of cman_get_privdata & cman_set_privdata
They do NOT take a pointer to a handle.
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/lib/libcman.c | 4 ++--
cman/lib/libcman.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cman/lib/libcman.c b/cman/lib/libcman.c
index 9855c17..dcda014 100644
--- a/cman/lib/libcman.c
+++ b/cman/lib/libcman.c
@@ -346,7 +346,7 @@ int cman_finish(cman_handle_t handle)
return 0;
}
-int cman_setprivdata(cman_handle_t *handle, void *privdata)
+int cman_setprivdata(cman_handle_t handle, void *privdata)
{
struct cman_handle *h = (struct cman_handle *)handle;
VALIDATE_HANDLE(h);
@@ -355,7 +355,7 @@ int cman_setprivdata(cman_handle_t *handle, void *privdata)
return 0;
}
-int cman_getprivdata(cman_handle_t *handle, void **privdata)
+int cman_getprivdata(cman_handle_t handle, void **privdata)
{
struct cman_handle *h = (struct cman_handle *)handle;
VALIDATE_HANDLE(h);
diff --git a/cman/lib/libcman.h b/cman/lib/libcman.h
index 7548251..37058df 100644
--- a/cman/lib/libcman.h
+++ b/cman/lib/libcman.h
@@ -198,8 +198,8 @@ cman_handle_t cman_admin_init(void *privdata);
int cman_finish(cman_handle_t handle);
/* Update/retrieve the private data */
-int cman_setprivdata(cman_handle_t *h, void *privdata);
-int cman_getprivdata(cman_handle_t *h, void **privdata);
+int cman_setprivdata(cman_handle_t h, void *privdata);
+int cman_getprivdata(cman_handle_t h, void **privdata);
/*
* Notification of membership change events. Note that these are sent after