Use #include "..." for our own headers, <...> for others

Tracked down with an ugly, brittle and probably buggy Perl script.

Also move includes converted to <...> up so they get included before
ours where that's obviously okay.

Backports commit a9c94277f07d19d3eb14f199c3e93491aa3eae0e from qemu
This commit is contained in:
Markus Armbruster 2018-02-25 04:10:25 -05:00 committed by Lioncash
parent f6f843b4d4
commit 60e8836b74
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
10 changed files with 16 additions and 14 deletions

View file

@ -35,7 +35,7 @@
#include "exec/memory.h"
#include "exec/address-spaces.h"
#if defined(CONFIG_USER_ONLY)
#include <qemu.h>
#include "qemu.h"
#endif
#include "exec/cpu-all.h"

View file

@ -4,7 +4,7 @@
#ifndef HELPER_GEN_H
#define HELPER_GEN_H 1
#include <exec/helper-head.h>
#include "exec/helper-head.h"
#define DEF_HELPER_FLAGS_0(name, flags, ret) \
static inline void glue(gen_helper_, name)(TCGContext *tcg_ctx, dh_retvar_decl0(ret)) \

View file

@ -4,7 +4,7 @@
#ifndef HELPER_PROTO_H
#define HELPER_PROTO_H 1
#include <exec/helper-head.h>
#include "exec/helper-head.h"
#define DEF_HELPER_FLAGS_0(name, flags, ret) \
dh_ctype(ret) HELPER(name) (void);

View file

@ -4,7 +4,7 @@
#ifndef HELPER_TCG_H
#define HELPER_TCG_H 1
#include <exec/helper-head.h>
#include "exec/helper-head.h"
#define DEF_HELPER_FLAGS_0(NAME, FLAGS, ret) \
{ HELPER(NAME), #NAME, FLAGS, \

View file

@ -33,7 +33,7 @@
#ifndef EXEC_TB_HASH_XX
#define EXEC_TB_HASH_XX
#include <qemu/bitops.h>
#include "qemu/bitops.h"
#define PRIME32_1 2654435761U
#define PRIME32_2 2246822519U

View file

@ -1,6 +1,7 @@
#ifndef __QEMU_THREAD_POSIX_H
#define __QEMU_THREAD_POSIX_H 1
#include "pthread.h"
#include <pthread.h>
#include <semaphore.h>
struct QemuThread {

View file

@ -1,6 +1,7 @@
#ifndef __QEMU_THREAD_WIN32_H
#define __QEMU_THREAD_WIN32_H 1
#include "windows.h"
#include <windows.h>
typedef struct QemuThreadData QemuThreadData;
struct QemuThread {

View file

@ -16,11 +16,11 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "qemu/osdep.h"
#include <cpu.h>
#include <cpu-qom.h>
#include <exec/helper-proto.h>
#include <kvm-consts.h>
#include <sysemu/sysemu.h>
#include "cpu.h"
#include "cpu-qom.h"
#include "exec/helper-proto.h"
#include "kvm-consts.h"
#include "sysemu/sysemu.h"
#include "internals.h"
#include "exec/exec-all.h"

View file

@ -11,7 +11,7 @@
*/
#include "qemu/osdep.h"
#include <qemu/mmap-alloc.h>
#include "qemu/mmap-alloc.h"
#include <sys/mman.h>
void *qemu_ram_mmap(int fd, size_t size, size_t align, bool shared)

View file

@ -61,7 +61,7 @@
#include <sys/sysctl.h>
#endif
#include <qemu/mmap-alloc.h>
#include "qemu/mmap-alloc.h"
void *qemu_oom_check(void *ptr)
{