DCC doesn't like argument names in returned function pointers.
PR: 1122
This commit is contained in:
parent
07f7b4b470
commit
a50a2126cf
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue