summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c2
-rw-r--r--target-i386/svm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 7306cbd3f2..c0fb78f6b7 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1670,7 +1670,7 @@ void helper_cmpxchg8b(void)
CC_SRC = eflags;
}
-void helper_single_step()
+void helper_single_step(void)
{
env->dr[6] |= 0x4000;
raise_exception(EXCP01_SSTP);
diff --git a/target-i386/svm.h b/target-i386/svm.h
index 982d05487b..f99f47e899 100644
--- a/target-i386/svm.h
+++ b/target-i386/svm.h
@@ -323,7 +323,7 @@ struct __attribute__ ((__packed__)) vmcb {
/* function references */
-void helper_stgi();
+void helper_stgi(void);
void vmexit(uint64_t exit_code, uint64_t exit_info_1);
int svm_check_intercept_param(uint32_t type, uint64_t param);
static inline int svm_check_intercept(unsigned int type) {