From 0342d76c613911b282e14a1188326075d1d43bca Mon Sep 17 00:00:00 2001 From: uid56437 Date: Wed, 4 Jul 2001 14:05:09 +0000 Subject: Add prototypes for all functions in wine/*, to catch __stdcall function attribute mismatches between function prototypes and function definitions. Such a __stdcall mismatch can corrupt the cpu's stack, because both the caller and the callee clean up function parameter from the stack (or none of them removes the function parameters) wine/* should be less sensitive to optimzation options due to this change. CVS patchset: 245 CVS date: 2001/07/04 14:05:09 --- src/libw32dll/wine/elfdll.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/libw32dll/wine/elfdll.c') diff --git a/src/libw32dll/wine/elfdll.c b/src/libw32dll/wine/elfdll.c index 3b6923668..b8fe03d74 100644 --- a/src/libw32dll/wine/elfdll.c +++ b/src/libw32dll/wine/elfdll.c @@ -40,11 +40,6 @@ modref_list; extern modref_list* local_wm; -/*------------------ HACKS -----------------*/ -extern DWORD fixup_imports(WINE_MODREF *wm); -extern void dump_exports(HMODULE hModule); -/*---------------- END HACKS ---------------*/ - //char *extra_ld_library_path = "/usr/lib/win32"; extern char* def_path; -- cgit v1.2.3