Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c
index 7aaa4da..21c2a9b 100644
--- a/dlls/netapi32/netapi32.c
+++ b/dlls/netapi32/netapi32.c
@@ -183,8 +183,7 @@
return NRC_GOODRET;
}
-BOOL WINAPI
-NETAPI32_LibMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved);
diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec
index 9a31f31..e9f710e 100644
--- a/dlls/netapi32/netapi32.spec
+++ b/dlls/netapi32/netapi32.spec
@@ -1,5 +1,3 @@
-init NETAPI32_LibMain
-
@ stub I_BrowserDebugCall
@ stub I_BrowserDebugTrace
@ stdcall I_BrowserQueryEmulatedDomains(wstr ptr ptr) I_BrowserQueryEmulatedDomains