mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
-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)
This commit is contained in:
parent
57acc56bdc
commit
937a62323b
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user