public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - cman: fix signatures of cman_get_privdata & cman_set_privdata
@ 2008-11-19 11:18 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2008-11-19 11:18 UTC (permalink / raw)
To: cluster-cvs-relay
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-19 11:18 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:18 cluster: master - 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).