Just use an ANSI declaration, instead.
[openssl.git] / ssl / ssl_ciph.c
index baf16deb11302c0c238c72533148b51ff4a2b33e..f53d688d89c504477e3fa4d9b665218e01a02e79 100644 (file)
@@ -812,12 +812,7 @@ int n;
        return(NULL);
        }
 
-#ifndef NOPROTO
-static int sk_comp_cmp(SSL_COMP **a,SSL_COMP **b);
-#endif
-
-static int sk_comp_cmp(a,b)
-SSL_COMP **a,**b;
+static int sk_comp_cmp(SSL_COMP **a,SSL_COMP **b)
        {
        return((*a)->id-(*b)->id);
        }