diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-23 21:35:25 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-23 21:35:25 +0000 |
commit | 543b4ecc137c13e03fe47540390c16c87f8315c5 (patch) | |
tree | 884746148fe347b3dd19fbde6f9aeecad1803044 /ssl | |
parent | 1110cea00735fd3f779f62d28a12f4dd613fad61 (diff) |
DCC doesn't like argument names in returned function pointers.
PR: 1122
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |