1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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:
Alexey Botchkov
2016-06-27 18:02:28 +04:00
parent 652e799a38
commit 09d902d84b
6 changed files with 20 additions and 11 deletions

View File

@ -19,7 +19,7 @@
#include "wsrep_priv.h"
#include "wsrep_mysqld.h"
unsigned int wsrep_check_ip (const char* addr, bool *is_ipv6);
unsigned int wsrep_check_ip (const char* const addr, bool *is_ipv6);
size_t wsrep_guess_ip (char* buf, size_t buf_len);
namespace wsp {