summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/win32.c')
-rw-r--r--loader/win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 454049e1e2..547eb64494 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -5291,12 +5291,13 @@ struct libs libraries[]={
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