mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
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:
parent
652e799a38
commit
09d902d84b
6 changed files with 20 additions and 11 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue