Alexandre Julliard : iphlpapi: 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: 4468a0122f70fd4ac23417f766a5e8c96af025c4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4468a0122f70fd4ac23417f766a5e8c96af025c4

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

iphlpapi: Remove an unnecessary DllMain entry point.

---

 dlls/iphlpapi/iphlpapi_main.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 9cffe06..600bf8c 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -71,19 +71,6 @@ static void initialise_resolver(void)
         res_init();
 }
 
-BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
-  switch (fdwReason) {
-    case DLL_PROCESS_ATTACH:
-      DisableThreadLibraryCalls( hinstDLL );
-      break;
-
-    case DLL_PROCESS_DETACH:
-      break;
-  }
-  return TRUE;
-}
-
 /******************************************************************
  *    AddIPAddress (IPHLPAPI.@)
  *




More information about the wine-cvs mailing list