changeset 30226:cf58d8f46d98

Place a volatile at a more appropriate place.
author reimar
date Sun, 10 Jan 2010 19:59:36 +0000
parents b49cb1cd3b62
children 052c823850f0
files loader/win32.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Sun Jan 10 19:58:01 2010 +0000
+++ b/loader/win32.c	Sun Jan 10 19:59:36 2010 +0000
@@ -5328,7 +5328,7 @@
 {
     volatile int idx = 0x0deadabc;
     // make sure gcc does not do eip-relative call or something like that
-    volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd;
+    void (* volatile my_printf)(char *, char *) = (void *)0xdeadfbcd;
     my_printf("Called unk_%s\n", export_names[idx]);
     return 0;
 }