mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Fixed compilation issue
This commit is contained in:
parent
ec171a94a3
commit
017150b747
1 changed files with 4 additions and 6 deletions
|
@ -134,13 +134,11 @@ ATTRIBUTE_NORETURN static void my_exit(int exit_code)
|
|||
exit(exit_code);
|
||||
}
|
||||
|
||||
|
||||
static my_bool get_one_option(int optid,
|
||||
const struct my_option *opt
|
||||
__attribute__((unused)),
|
||||
char *argument)
|
||||
extern "C" my_bool get_one_option(const struct my_option *opt
|
||||
__attribute__((unused)),
|
||||
char *argument, const char *filename)
|
||||
{
|
||||
switch (optid) {
|
||||
switch (opt->id) {
|
||||
case 'V':
|
||||
print_version();
|
||||
my_exit(0);
|
||||
|
|
Loading…
Reference in a new issue