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.
This commit is contained in:
Alexey Botchkov 2016-06-27 18:02:28 +04:00
commit 09d902d84b
6 changed files with 20 additions and 11 deletions

View file

@ -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 */