1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-22 17:44:29 +03:00

fix function prototype to follow the API

This commit is contained in:
Sergei Golubchik
2011-01-12 12:11:21 +01:00
parent 2925335643
commit 603444bc13

View File

@@ -327,7 +327,10 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
or fall back to the default implementation. 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"); void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask");
ask= sym ? (mysql_authentication_dialog_ask_t)sym : builtin_ask; ask= sym ? (mysql_authentication_dialog_ask_t)sym : builtin_ask;