summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjwalch <jeremy.walch@gmail.com>2021-02-19 17:58:17 -0500
committerPauli <ppzgs1@gmail.com>2021-02-21 22:04:22 +1000
commit937a62323b67bfff59c795e90df3acf66bb4579a (patch)
treec341ffb5a4e93712f8de113455f6ad087ee5eb3b /include
parent57acc56bdcdf2a7f084cf480f6f1d8f250735b0c (diff)
-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 <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14260)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core_dispatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h
index 0377424434..c4e109156f 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; \