DCC doesn't like argument names in returned function pointers.

PR: 1122
This commit is contained in:
Richard Levitte 2005-06-23 21:35:20 +00:00
parent 07f7b4b470
commit a50a2126cf

View file

@ -2396,7 +2396,9 @@ void SSL_set_info_callback(SSL *ssl,
ssl->info_callback=cb;
}
void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,int type,int val)
/* One compiler (Diab DCC) doesn't like argument names in returned
function pointer. */
void (*SSL_get_info_callback(const SSL *ssl))(const SSL * /*ssl*/,int /*type*/,int /*val*/)
{
return ssl->info_callback;
}