From ff3dc34797bd33bfd2ea70a52d57778d3c59094f Mon Sep 17 00:00:00 2001 From: Alberto Massari Date: Wed, 20 Nov 2002 19:45:50 +0000 Subject: [PATCH] winedump was still using the "init" keyword in the .spec file. --- tools/winedump/output.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/winedump/output.c b/tools/winedump/output.c index 226baa5236a..13254d2a070 100644 --- a/tools/winedump/output.c +++ b/tools/winedump/output.c @@ -51,8 +51,7 @@ void output_spec_preamble (void) puts ("Creating .spec preamble"); fprintf (specfile, - "# Generated from %s by winedump\ninit %s_Init\n\n", - globals.input_name, OUTPUT_UC_DLL_NAME); + "# Generated from %s by winedump\n\n", globals.input_name); } @@ -228,11 +227,10 @@ void output_c_preamble (void) " (\"movl %%ecx, %0\" : \"=m\" (p))\n#endif\n\n\n", cfile); fprintf (cfile, - "BOOL WINAPI %s_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID " + "BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID " "lpvReserved)\n{\n\tTRACE(\"(0x%%08x, %%ld, %%p)\\n\",hinstDLL," "fdwReason,lpvReserved);\n\n\t" - "if (fdwReason == DLL_PROCESS_ATTACH)\n\t{\n\t\t", - OUTPUT_UC_DLL_NAME); + "if (fdwReason == DLL_PROCESS_ATTACH)\n\t{\n\t\t"); if (globals.forward_dll) { -- 2.11.4.GIT