mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06:00
include: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. NB: If this commit breaks compilation for your out-of-tree patchseries or fork, then you need to make sure you add #include "qemu/osdep.h" to any new .c files that you have. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
974dc73d77
commit
90ce6e2644
97 changed files with 0 additions and 156 deletions
|
@ -115,9 +115,6 @@
|
|||
#ifndef ERROR_H
|
||||
#define ERROR_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include "qemu/compiler.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef QMP_EVENT_H
|
||||
#define QMP_EVENT_H
|
||||
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
|
||||
typedef void (*QMPEventFuncEmit)(unsigned event, QDict *dict, Error **errp);
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
typedef void (QmpCommandFunc)(QDict *, QObject **, Error **);
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef QEMU_JSON_LEXER_H
|
||||
#define QEMU_JSON_LEXER_H
|
||||
|
||||
#include "glib-compat.h"
|
||||
|
||||
typedef enum json_token_type {
|
||||
JSON_MIN = 100,
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/qmp/qlist.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
QObject *json_parser_parse(GQueue *tokens, va_list *ap);
|
||||
QObject *json_parser_parse_err(GQueue *tokens, va_list *ap, Error **errp);
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
#ifndef QEMU_JSON_STREAMER_H
|
||||
#define QEMU_JSON_STREAMER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "glib-compat.h"
|
||||
#include "qapi/qmp/json-lexer.h"
|
||||
|
||||
typedef struct JSONToken {
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef QBOOL_H
|
||||
#define QBOOL_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QBool {
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi/qmp/qlist.h"
|
||||
#include "qemu/queue.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define QDICT_BUCKET_MAX 512
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef QFLOAT_H
|
||||
#define QFLOAT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QFloat {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#ifndef QINT_H
|
||||
#define QINT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QInt {
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
#ifndef QJSON_H
|
||||
#define QJSON_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "qemu/compiler.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi/qmp/qstring.h"
|
||||
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
#ifndef QOBJECT_H
|
||||
#define QOBJECT_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include "qapi-types.h"
|
||||
|
||||
struct QObject {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#ifndef QSTRING_H
|
||||
#define QSTRING_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QString {
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#ifndef QAPI_VISITOR_IMPL_H
|
||||
#define QAPI_VISITOR_IMPL_H
|
||||
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/visitor.h"
|
||||
|
||||
struct Visitor
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
#include "qemu/typedefs.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi/error.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
/* This struct is layout-compatible with all other *List structs
|
||||
* created by the qapi generator. It is used as a typical
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue