Skip to content

Commit

Permalink
Fixed compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed Oct 20, 2019
1 parent ec171a9 commit 017150b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions storage/maria/aria_s3_copy.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 017150b

Please sign in to comment.