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 25efa29..383ba33 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;
        }