diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-14 11:48:47 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-14 14:13:53 +0100 |
commit | dda71111b88bc36a75e25787ecbe246f2620e940 (patch) | |
tree | 996fd4c55b1c03a4984828422cc52b2df9b24f4b /crypto/cryptlib.c | |
parent | Don't test heartbeats when there aren't any. (diff) | |
download | openssl-dda71111b88bc36a75e25787ecbe246f2620e940.tar.xz openssl-dda71111b88bc36a75e25787ecbe246f2620e940.zip |
Declare DllMain internally
DllMain is a symbol that needs to be global, but no one needs to know.
However, some compilers will warn if there isn't a declaration before
the function is defined. Just add a declaration before the function
definition.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 1b2a365baa..8052893db2 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -210,6 +210,7 @@ void OPENSSL_cpuid_setup(void) * detaches */ +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { |