DCC doesn't like argument names in returned function pointers.
authorRichard Levitte <levitte@openssl.org>
Thu, 23 Jun 2005 21:35:25 +0000 (21:35 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Jun 2005 21:35:25 +0000 (21:35 +0000)
PR: 1122

ssl/ssl_lib.c

index 25efa29a57a34e0d88ce38c296138c24d5755bf9..383ba33298c56625c3b2ebd297bf6b9c29e9c8c4 100644 (file)
@@ -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;
        }