winedump was still using the "init" keyword in the .spec file.

This commit is contained in:
Alberto Massari 2002-11-20 19:45:50 +00:00 committed by Alexandre Julliard
parent 56dff0d4df
commit ff3dc34797
1 changed files with 3 additions and 5 deletions

View File

@ -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)
{