changeset 22406:9977fe541c4d

The original asm code for the stub returned 0, restore that behaviour.
author reimar
date Sat, 03 Mar 2007 17:25:18 +0000
parents 1b1761cbba3b
children 458b7f1386f3
files loader/win32.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Sat Mar 03 16:59:39 2007 +0000
+++ b/loader/win32.c	Sat Mar 03 17:25:18 2007 +0000
@@ -5291,12 +5291,13 @@
     LL(shlwapi)
 };
 
-static void ext_stubs(void)
+static WIN_BOOL WINAPI ext_stubs(void)
 {
     volatile int idx = 0xdeadabcd;
     // make sure gcc does not do eip-relative call or something like that
     volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd;
     my_printf("Called unk_%s\n", export_names[idx]);
+    return 0;
 }
 
 #define MAX_STUB_SIZE 0x60