diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-01-30 01:30:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-01-30 01:30:48 +0000 |
commit | eb164d0b12485292faee35770a4ce2f48976aa1f (patch) | |
tree | d2db7081979b4fb034d887e51d13acddfaf695d4 /crypto/engine/engine.h | |
parent | 225c272193413b727cfffe2ac03a9bb5888459be (diff) | |
download | openssl-eb164d0b12485292faee35770a4ce2f48976aa1f.tar.gz |
stop warnings about no previous prototype when compiling shared engines
Diffstat (limited to 'crypto/engine/engine.h')
-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 a42e6b1f98..bfc453fa96 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -678,6 +678,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; } @@ -701,6 +702,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, \ |