From b3599dbb6af7e28efae5f08ace99cc75f5e90b2f Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 12 Apr 2016 12:20:16 +0100 Subject: Rename int_*() functions to *_int() There is a preference for suffixes to indicate that a function is internal rather than prefixes. Note: the suffix is only required to disambiguate internal functions and public symbols with the same name (but different case) Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte --- engines/afalg/e_afalg.c | 4 ++-- engines/e_capi.c | 6 +++--- engines/e_dasync.c | 4 ++-- engines/e_padlock.c | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'engines') diff --git a/engines/afalg/e_afalg.c b/engines/afalg/e_afalg.c index 18daa6e7f8..830e88b302 100644 --- a/engines/afalg/e_afalg.c +++ b/engines/afalg/e_afalg.c @@ -104,7 +104,7 @@ #define ALG_MAX_SALG_TYPE 14 # ifdef OPENSSL_NO_DYNAMIC_ENGINE -void int_engine_load_afalg(void); +void engine_load_afalg_int(void); # endif /* Local Linkage Functions */ @@ -816,7 +816,7 @@ static ENGINE *engine_afalg(void) return ret; } -void int_engine_load_afalg(void) +void engine_load_afalg_int(void) { ENGINE *toadd; diff --git a/engines/e_capi.c b/engines/e_capi.c index 20d551895a..d2b24d540e 100644 --- a/engines/e_capi.c +++ b/engines/e_capi.c @@ -191,7 +191,7 @@ static int cert_select_simple(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs); static int cert_select_dialog(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs); # endif -void int_engine_load_capi(void); +void engine_load_capi_int(void); typedef PCCERT_CONTEXT(WINAPI *CERTDLG) (HCERTSTORE, HWND, LPCWSTR, LPCWSTR, DWORD, DWORD, void *); @@ -1911,8 +1911,8 @@ OPENSSL_EXPORT IMPLEMENT_DYNAMIC_CHECK_FN() # else -void int_engine_load_capi(void); -void int_engine_load_capi(void) +void engine_load_capi_int(void); +void engine_load_capi_int(void) { } # endif diff --git a/engines/e_dasync.c b/engines/e_dasync.c index 61559544d8..27a5602364 100644 --- a/engines/e_dasync.c +++ b/engines/e_dasync.c @@ -86,7 +86,7 @@ static const char *engine_dasync_name = "Dummy Async engine support"; static int dasync_destroy(ENGINE *e); static int dasync_init(ENGINE *e); static int dasync_finish(ENGINE *e); -void int_engine_load_dasync(void); +void engine_load_dasync_int(void); /* Set up digests. Just SHA1 for now */ @@ -347,7 +347,7 @@ static ENGINE *engine_dasync(void) return ret; } -void int_engine_load_dasync(void) +void engine_load_dasync_int(void) { ENGINE *toadd = engine_dasync(); if (!toadd) diff --git a/engines/e_padlock.c b/engines/e_padlock.c index d8f90a7f37..5bde91d65b 100644 --- a/engines/e_padlock.c +++ b/engines/e_padlock.c @@ -111,8 +111,8 @@ static ENGINE *ENGINE_padlock(void); # endif # ifdef OPENSSL_NO_DYNAMIC_ENGINE -void int_engine_load_padlock(void); -void int_engine_load_padlock(void) +void engine_load_padlock_int(void); +void engine_load_padlock_int(void) { /* On non-x86 CPUs it just returns. */ # ifdef COMPILE_HW_PADLOCK -- cgit v1.2.3