From 2d8aa2058ade1fc1d23e7fb9ac27d0575cf1d555 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 16 Apr 2023 12:05:31 +0000 Subject: Remove unnecessary prototypes in the middle of the code In addition, ext_cmp() was already prototyped earlier... --- src/lib/libcrypto/x509/x509_lib.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c index 3baea2bd7a..57b2b2cb42 100644 --- a/src/lib/libcrypto/x509/x509_lib.c +++ b/src/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_) { -- cgit v1.2.3-55-g6feb