aboutsummaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep.h b/osdep.h
index bc513ad3d5..0666e78b3f 100644
--- a/osdep.h
+++ b/osdep.h
@@ -36,9 +36,9 @@
#define inline always_inline
#ifdef __i386__
-#define REGPARM(n) __attribute((regparm(n)))
+#define REGPARM __attribute((regparm(3)))
#else
-#define REGPARM(n)
+#define REGPARM
#endif
#define qemu_printf printf