From 937a62323b67bfff59c795e90df3acf66bb4579a Mon Sep 17 00:00:00 2001 From: jwalch Date: Fri, 19 Feb 2021 17:58:17 -0500 Subject: [PATCH] -Wunused-function cleanup core_dispatch.h seems to be the source of some compiler warnings with legacy applications in alpha12 now that it is implicitly exported via evp.h Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14260) --- include/openssl/core_dispatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 03774244346..c4e109156fa 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -44,7 +44,7 @@ extern "C" { */ #define OSSL_CORE_MAKE_FUNC(type,name,args) \ typedef type (OSSL_FUNC_##name##_fn)args; \ - static ossl_inline \ + static ossl_unused ossl_inline \ OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf) \ { \ return (OSSL_FUNC_##name##_fn *)opf->function; \ -- 2.47.3