i386/hax: remove duplicated includes
applied using ./scripts/clean-includes Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
1945e6ab47
commit
744fc0540d
@ -22,7 +22,6 @@
|
|||||||
#ifndef QEMU_HAX_H
|
#ifndef QEMU_HAX_H
|
||||||
#define QEMU_HAX_H
|
#define QEMU_HAX_H
|
||||||
|
|
||||||
#include "config-host.h"
|
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
|
|
||||||
int hax_sync_vcpus(void);
|
int hax_sync_vcpus(void);
|
||||||
|
@ -11,13 +11,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* HAX module interface - darwin version */
|
/* HAX module interface - darwin version */
|
||||||
#include <sys/types.h>
|
#include "qemu/osdep.h"
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
|
||||||
#include "target/i386/hax-i386.h"
|
#include "target/i386/hax-i386.h"
|
||||||
|
|
||||||
hax_fd hax_mod_open(void)
|
hax_fd hax_mod_open(void)
|
||||||
|
@ -15,10 +15,7 @@
|
|||||||
#ifndef TARGET_I386_HAX_DARWIN_H
|
#ifndef TARGET_I386_HAX_DARWIN_H
|
||||||
#define TARGET_I386_HAX_DARWIN_H
|
#define TARGET_I386_HAX_DARWIN_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/mman.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#define HAX_INVALID_FD (-1)
|
#define HAX_INVALID_FD (-1)
|
||||||
static inline int hax_invalid_fd(hax_fd fd)
|
static inline int hax_invalid_fd(hax_fd fd)
|
||||||
|
@ -24,8 +24,6 @@
|
|||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <winioctl.h>
|
#include <winioctl.h>
|
||||||
#include <string.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
|
|
||||||
#define HAX_INVALID_FD INVALID_HANDLE_VALUE
|
#define HAX_INVALID_FD INVALID_HANDLE_VALUE
|
||||||
|
Loading…
Reference in New Issue
Block a user