diff options
author | Paolo Bonzini | 2017-10-03 15:36:05 +0200 |
---|---|---|
committer | Paolo Bonzini | 2017-12-22 15:02:07 +0100 |
commit | f9fea777405b43dd4143548d573d3799b9fb728f (patch) | |
tree | 1aca1b6c461eb4a181ccf08aa89b8034e025d698 /target/i386/hvf/x86_decode.h | |
parent | i386: hvf: move all hvf files in the same directory (diff) | |
download | qemu-f9fea777405b43dd4143548d573d3799b9fb728f.tar.gz qemu-f9fea777405b43dd4143548d573d3799b9fb728f.tar.xz qemu-f9fea777405b43dd4143548d573d3799b9fb728f.zip |
i386: hvf: header cleanup
Remove inclusions of system headers and avoid "pragma once".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/hvf/x86_decode.h')
-rw-r--r-- | target/i386/hvf/x86_decode.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/target/i386/hvf/x86_decode.h b/target/i386/hvf/x86_decode.h index 329131360f..3e1eca0cdb 100644 --- a/target/i386/hvf/x86_decode.h +++ b/target/i386/hvf/x86_decode.h @@ -15,15 +15,11 @@ * License along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#pragma once +#ifndef HVF_X86_DECODE_H +#define HVF_X86_DECODE_H 1 -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/mman.h> -#include <stdarg.h> -#include "qemu-common.h" -#include "x86.h" #include "cpu.h" +#include "x86.h" typedef enum x86_prefix { /* group 1 */ @@ -323,3 +319,5 @@ void calc_modrm_operand64(CPUX86State *env, struct x86_decode *decode, struct x86_decode_op *op); void set_addressing_size(CPUX86State *env, struct x86_decode *decode); void set_operand_size(CPUX86State *env, struct x86_decode *decode); + +#endif |