diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-09 06:59:01 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-09 06:59:01 +0000 |
commit | 3f47aa8c37cf1ab86df03dcf3a91c6f7249bdc12 (patch) | |
tree | d9d3e5f4462517b179c20412b5ccccdab6fc660a /target-i386 | |
parent | 19f329ad7b4131471183801ccfa74295698fa62e (diff) |
Fix some functions declared () rather than (void) (Ian Jackson)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4029 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/helper.c | 2 | ||||
-rw-r--r-- | target-i386/svm.h | 2 |
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) { |