Just use an ANSI declaration, instead.
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index baf16de..f53d688 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -812,12 +812,7 @@
 	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);
 	}