From c3a64b52788df139d649efaaf993c27dc89ba6ce Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 14 Apr 2016 13:37:41 +0100 Subject: [PATCH] The err_cleanup() funtion is internal so shouldn't be exported Running a "make update" wanted to add err_cleanup to libcrypto.num which is wrong. Reviewed-by: Richard Levitte --- crypto/err/err.c | 2 +- crypto/include/internal/err_int.h | 1 + include/internal/err.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/err/err.c b/crypto/err/err.c index aff3ae5a24..b0fd19e7ae 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -114,11 +114,11 @@ #include #include #include +#include #include #include #include #include -#include "internal/err.h" #include static void err_load_strings(int lib, ERR_STRING_DATA *str); diff --git a/crypto/include/internal/err_int.h b/crypto/include/internal/err_int.h index ad3f7ce49b..7f1037e939 100644 --- a/crypto/include/internal/err_int.h +++ b/crypto/include/internal/err_int.h @@ -12,5 +12,6 @@ # define INTERNAL_ERR_INT_H void err_load_crypto_strings_int(void); +void err_cleanup(void); #endif diff --git a/include/internal/err.h b/include/internal/err.h index 415f578f09..de2180b34b 100644 --- a/include/internal/err.h +++ b/include/internal/err.h @@ -59,6 +59,5 @@ # define INTERNAL_ERR_H void err_free_strings_int(void); -void err_cleanup(void); #endif