From a50a2126cfd5badf0da891b8f3cd68d0d86d2d2f Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 23 Jun 2005 21:35:20 +0000 Subject: [PATCH] DCC doesn't like argument names in returned function pointers. PR: 1122 --- ssl/ssl_lib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.25.1