summaryrefslogtreecommitdiff
path: root/sql/wsrep_applier.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_applier.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_applier.h')
-rw-r--r--sql/wsrep_applier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/wsrep_applier.h b/sql/wsrep_applier.h
index b6497776e87..d58d3cdc54e 100644
--- a/sql/wsrep_applier.h
+++ b/sql/wsrep_applier.h
@@ -23,6 +23,7 @@ void wsrep_set_apply_format(THD* thd, Format_description_log_event* ev);
Format_description_log_event* wsrep_get_apply_format(THD* thd);
/* wsrep callback prototypes */
+extern "C" {
wsrep_cb_status_t wsrep_apply_cb(void *ctx,
const void* buf, size_t buf_len,
@@ -39,4 +40,5 @@ wsrep_cb_status_t wsrep_unordered_cb(void* ctx,
const void* data,
size_t size);
+} /* extern "C" */
#endif /* WSREP_APPLIER_H */