target/hexagon: Clean up includes
This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Changes to standalone programs dropped, because these intentionally don't use qemu/osdep.h: target/hexagon/gen_dectree_import.c target/hexagon/gen_semantics.c target/hexagon/idef-parser/idef-parser.h target/hexagon/idef-parser/parser-helpers.c target/hexagon/idef-parser/parser-helpers.h Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20230202133830.2152150-14-armbru@redhat.com>
This commit is contained in:
parent
e02e085c8b
commit
1beb07ca8a
@ -18,7 +18,6 @@
|
|||||||
#ifndef HEXAGON_HEX_ARCH_TYPES_H
|
#ifndef HEXAGON_HEX_ARCH_TYPES_H
|
||||||
#define HEXAGON_HEX_ARCH_TYPES_H
|
#define HEXAGON_HEX_ARCH_TYPES_H
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
|
||||||
#include "mmvec/mmvec.h"
|
#include "mmvec/mmvec.h"
|
||||||
#include "qemu/int128.h"
|
#include "qemu/int128.h"
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#ifndef HEXAGON_MMVEC_MACROS_H
|
#ifndef HEXAGON_MMVEC_MACROS_H
|
||||||
#define HEXAGON_MMVEC_MACROS_H
|
#define HEXAGON_MMVEC_MACROS_H
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
|
||||||
#include "qemu/host-utils.h"
|
#include "qemu/host-utils.h"
|
||||||
#include "arch.h"
|
#include "arch.h"
|
||||||
#include "mmvec/system_ext_mmvec.h"
|
#include "mmvec/system_ext_mmvec.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user