[Commits] Rev 2915: fix function prototype to follow the API in http://bazaar.launchpad.net/~maria-captains/maria/5.2/

serg at askmonty.org serg at askmonty.org
Thu Jan 20 19:44:40 EET 2011


At http://bazaar.launchpad.net/~maria-captains/maria/5.2/

------------------------------------------------------------
revno: 2915
revision-id: sergii at pisem.net-20110112111121-6795co2l6ybxcwsn
parent: monty at askmonty.org-20110114145118-s05ub96d23bgwi1f
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.2
timestamp: Wed 2011-01-12 12:11:21 +0100
message:
  fix function prototype to follow the API
-------------- next part --------------
=== modified file 'plugin/auth/dialog.c'
--- a/plugin/auth/dialog.c	2010-04-08 13:58:04 +0000
+++ b/plugin/auth/dialog.c	2011-01-12 11:11:21 +0000
@@ -327,7 +327,10 @@ static int perform_dialog(MYSQL_PLUGIN_V
   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;



More information about the commits mailing list