summaryrefslogtreecommitdiff
path: root/sql/wsrep_priv.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-06-27 18:02:28 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-06-27 18:02:28 +0400
commit09d902d84befaf3b1d247c2fcb9706e3f83522f4 (patch)
tree4d27adfcf0fd51a2cd666de7207e4561006beb6b /sql/wsrep_priv.h
parent652e799a387f63a582254a68363e720e47db97e4 (diff)
downloadmariadb-git-09d902d84befaf3b1d247c2fcb9706e3f83522f4.tar.gz
MDEV-9618 solaris sparc build fails on 10.1.
Compiler on Sparc is strict about the 'const' modifiers in function declarations and definitions. Meaning they should be exactly same.
Diffstat (limited to 'sql/wsrep_priv.h')
-rw-r--r--sql/wsrep_priv.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/wsrep_priv.h b/sql/wsrep_priv.h
index 30dce78c1a4..1f3fdda2560 100644
--- a/sql/wsrep_priv.h
+++ b/sql/wsrep_priv.h
@@ -40,8 +40,11 @@ extern wsrep_uuid_t local_uuid;
extern wsrep_seqno_t local_seqno;
// a helper function
-void wsrep_sst_received(wsrep_t*, const wsrep_uuid_t&, wsrep_seqno_t,
- const void*, size_t);
+void wsrep_sst_received (wsrep_t* const wsrep,
+ const wsrep_uuid_t& uuid,
+ wsrep_seqno_t const segno,
+ const void * const state,
+ size_t const state_len);
/*! SST thread signals init thread about sst completion */
void wsrep_sst_complete(const wsrep_uuid_t*, wsrep_seqno_t, bool);