Alexandre Julliard : cryptnet: Remove an unnecessary DllMain entry point.

Alexandre Julliard julliard at winehq.org
Thu Feb 14 15:01:33 CST 2013


Module: wine
Branch: master
Commit: a4cdc0e90d3f3ad1b1ade84d352a8239d70771ac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a4cdc0e90d3f3ad1b1ade84d352a8239d70771ac

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Feb 14 21:36:26 2013 +0100

cryptnet: Remove an unnecessary DllMain entry point.

---

 dlls/cryptnet/cryptnet_main.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c
index c7511d7..46eac4e 100644
--- a/dlls/cryptnet/cryptnet_main.c
+++ b/dlls/cryptnet/cryptnet_main.c
@@ -42,22 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(cryptnet);
 
 #define IS_INTOID(x)    (((ULONG_PTR)(x) >> 16) == 0)
 
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
-   TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
-
-   switch (fdwReason) {
-      case DLL_PROCESS_ATTACH:
-         DisableThreadLibraryCalls(hinstDLL);
-         break;
-      case DLL_PROCESS_DETACH:
-         /* Do uninitialisation here */
-         break;
-      default: break;
-   }
-   return TRUE;
-}
-
 static const WCHAR cryptNet[] = { 'c','r','y','p','t','n','e','t','.',
    'd','l','l',0 };
 




More information about the wine-cvs mailing list