We can now use the standard DllMain as entry point.
diff --git a/dlls/kernel/Makefile.in b/dlls/kernel/Makefile.in
index 5d9869d..b47b71f 100644
--- a/dlls/kernel/Makefile.in
+++ b/dlls/kernel/Makefile.in
@@ -7,7 +7,6 @@
IMPORTS = ntdll
ALTNAMES = krnl386.exe comm.drv stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
EXTRALIBS = $(LIBUNICODE)
-DLLMAIN = MAIN_KernelInit
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
diff --git a/dlls/kernel/kernel_main.c b/dlls/kernel/kernel_main.c
index f27b70a..25e4ad3 100644
--- a/dlls/kernel/kernel_main.c
+++ b/dlls/kernel/kernel_main.c
@@ -201,7 +201,7 @@
/***********************************************************************
* KERNEL initialisation routine
*/
-BOOL WINAPI MAIN_KernelInit( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
switch(reason)
{