提交 543b4ecc 编写于 作者: R Richard Levitte

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

PR: 1122
上级 1110cea0
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册