From f1843f451e6f293ca8d5a73694bb0d3b4ce3b7f1 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 16 Apr 2023 12:05:31 +0000 Subject: [PATCH] Remove unnecessary prototypes in the middle of the code In addition, ext_cmp() was already prototyped earlier... --- lib/libcrypto/x509/x509_lib.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/libcrypto/x509/x509_lib.c b/lib/libcrypto/x509/x509_lib.c index 3baea2bd7ae..57b2b2cb420 100644 --- a/lib/libcrypto/x509/x509_lib.c +++ b/lib/libcrypto/x509/x509_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_lib.c,v 1.10 2023/04/16 12:01:15 tb Exp $ */ +/* $OpenBSD: x509_lib.c,v 1.11 2023/04/16 12:05:31 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -168,10 +168,6 @@ ext_cmp(const X509V3_EXT_METHOD * const *a, const X509V3_EXT_METHOD * const *b) return ((*a)->ext_nid - (*b)->ext_nid); } -static int ext_cmp_BSEARCH_CMP_FN(const void *, const void *); -static int ext_cmp(const X509V3_EXT_METHOD * const *, const X509V3_EXT_METHOD * const *); -static const X509V3_EXT_METHOD * *OBJ_bsearch_ext(const X509V3_EXT_METHOD * *key, const X509V3_EXT_METHOD * const *base, int num); - static int ext_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) { -- 2.20.1