From: Richard Levitte Date: Thu, 23 Jun 2005 21:35:25 +0000 (+0000) Subject: DCC doesn't like argument names in returned function pointers. X-Git-Tag: OpenSSL_0_9_8k^2~1982 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=543b4ecc137c13e03fe47540390c16c87f8315c5;p=oweals%2Fopenssl.git DCC doesn't like argument names in returned function pointers. PR: 1122 --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 25efa29a57..383ba33298 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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; }