diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-01-30 01:55:29 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-01-30 01:55:29 +0000 |
commit | b5b724348de90ba791a51c443ea1aa3aa8ee70a0 (patch) | |
tree | 51d5a24a0e872350225fd8a733cdde6f1de88a5d /crypto/engine | |
parent | c3ee90d8ca0a96f4ac40b04b366d862eb531ae10 (diff) |
stop warnings about no previous prototype when compiling shared engines
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/engine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 7fbd95f634..943aeae215 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -677,6 +677,7 @@ typedef struct st_dynamic_fns { * can be fully instantiated with IMPLEMENT_DYNAMIC_CHECK_FN(). */ typedef unsigned long (*dynamic_v_check_fn)(unsigned long ossl_version); #define IMPLEMENT_DYNAMIC_CHECK_FN() \ + OPENSSL_EXPORT unsigned long v_check(unsigned long v); \ OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \ if(v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \ return 0; } @@ -700,6 +701,8 @@ typedef int (*dynamic_bind_engine)(ENGINE *e, const char *id, const dynamic_fns *fns); #define IMPLEMENT_DYNAMIC_BIND_FN(fn) \ OPENSSL_EXPORT \ + int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns); \ + OPENSSL_EXPORT \ int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { \ if(ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \ if(!CRYPTO_set_mem_functions(fns->mem_fns.malloc_cb, \ |