diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-01-12 12:11:21 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-01-12 12:11:21 +0100 |
commit | 603444bc13a0ddc3f98318c78da394908e06025c (patch) | |
tree | 8319093b12d0b8b4d9a1d39f9851dc2a16a0477c /plugin | |
parent | 2925335643ded0ace6472e3a3a5c037ed6815c87 (diff) | |
download | mariadb-git-603444bc13a0ddc3f98318c78da394908e06025c.tar.gz |
fix function prototype to follow the API
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth/dialog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/auth/dialog.c b/plugin/auth/dialog.c index 72c6364f49a..49ab0c9a158 100644 --- a/plugin/auth/dialog.c +++ b/plugin/auth/dialog.c @@ -327,7 +327,10 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql) or fall back to the default implementation. */ -static int init_dialog() +static int init_dialog(char *errbuf __attribute__((unused)), + size_t sizeof_errbuf __attribute__((unused)), + int argc __attribute__((unused)), + va_list args __attribute__((unused))) { void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask"); ask= sym ? (mysql_authentication_dialog_ask_t)sym : builtin_ask; |