diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-01-18 20:08:44 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-01-18 20:08:44 +0000 |
commit | 3c4310d6ef6eda0ee8395116daa4fa26c3d5512d (patch) | |
tree | c8129c7a5b8397b08ac2818c3625a16cded734e8 /daemons/cmirrord/cluster.c | |
parent | 6c1c02dc52498390c4676b35dfe30113e3fd2927 (diff) | |
download | lvm2-3c4310d6ef6eda0ee8395116daa4fa26c3d5512d.tar.gz lvm2-3c4310d6ef6eda0ee8395116daa4fa26c3d5512d.tar.xz lvm2-3c4310d6ef6eda0ee8395116daa4fa26c3d5512d.zip |
Misc compilation clean-ups.
Diffstat (limited to 'daemons/cmirrord/cluster.c')
-rw-r--r-- | daemons/cmirrord/cluster.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/daemons/cmirrord/cluster.c b/daemons/cmirrord/cluster.c index bd2fd2e9..515d07e7 100644 --- a/daemons/cmirrord/cluster.c +++ b/daemons/cmirrord/cluster.c @@ -227,7 +227,7 @@ static struct clog_request *get_matching_rq(struct clog_request *rq, } static char rq_buffer[DM_ULOG_REQUEST_SIZE]; -static int handle_cluster_request(struct clog_cpg *entry, +static int handle_cluster_request(struct clog_cpg *entry __attribute((unused)), struct clog_request *rq, int server) { int r = 0; @@ -867,7 +867,7 @@ static int resend_requests(struct clog_cpg *entry) return r; } -static int do_cluster_work(void *data) +static int do_cluster_work(void *data __attribute((unused))) { int r = SA_AIS_OK; struct clog_cpg *entry; @@ -939,8 +939,8 @@ static int flush_startup_list(struct clog_cpg *entry) return 0; } -static void cpg_message_callback(cpg_handle_t handle, const struct cpg_name *gname, - uint32_t nodeid, uint32_t pid, +static void cpg_message_callback(cpg_handle_t handle, const struct cpg_name *gname __attribute((unused)), + uint32_t nodeid, uint32_t pid __attribute((unused)), void *msg, size_t msg_len) { int i; @@ -1377,7 +1377,7 @@ static void cpg_leave_callback(struct clog_cpg *match, } } -static void cpg_config_callback(cpg_handle_t handle, const struct cpg_name *gname, +static void cpg_config_callback(cpg_handle_t handle, const struct cpg_name *gname __attribute((unused)), const struct cpg_address *member_list, size_t member_list_entries, const struct cpg_address *left_list, @@ -1422,7 +1422,7 @@ cpg_callbacks_t cpg_callbacks = { * * Returns: 1 if checkpoint removed, 0 if no checkpoints, -EXXX on error */ -int remove_checkpoint(struct clog_cpg *entry) +static int remove_checkpoint(struct clog_cpg *entry) { int len; SaNameT name; |