public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE2 - cman: fix signatures of cman_get_privdata & cman_set_privdata
@ 2008-11-19 11:21 Christine Caulfield
  0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2008-11-19 11:21 UTC (permalink / raw)
  To: cluster-cvs-relay

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-19 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-19 11:21 cluster: STABLE2 - cman: fix signatures of cman_get_privdata & cman_set_privdata Christine Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).