This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE2 - 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:20:03 +0000 (UTC)
- Subject: cluster: STABLE2 - cman: fix signatures of cman_get_privdata &cman_set_privdata
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6f11a5cb225a9547a18440e9129410c32aa2be3f
Commit: 6f11a5cb225a9547a18440e9129410c32aa2be3f
Parent: c6d7ed953db4b3d5b3bc26624e1ce9933d7f8e8c
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:19:49 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 cee0147..9465412 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 3771176..b4fb4e4 100644
--- a/cman/lib/libcman.h
+++ b/cman/lib/libcman.h
@@ -196,8 +196,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