diff options
author | Philippe Mathieu-Daudé | 2022-02-07 09:27:56 +0100 |
---|---|---|
committer | Thomas Huth | 2022-02-21 10:18:06 +0100 |
commit | cd6174843b0896c9e57176159b38ecba45bade0e (patch) | |
tree | d8b23a91facf6abd0228b3ae87cc56cf64065461 /plugins | |
parent | softmmu/runstate: Clean headers (diff) | |
download | qemu-cd6174843b0896c9e57176159b38ecba45bade0e.tar.gz qemu-cd6174843b0896c9e57176159b38ecba45bade0e.tar.xz qemu-cd6174843b0896c9e57176159b38ecba45bade0e.zip |
exec/exec-all: Move 'qemu/log.h' include in units requiring it
Many files use "qemu/log.h" declarations but neglect to include
it (they inherit it via "exec/exec-all.h"). "exec/exec-all.h" is
a core component and shouldn't be used that way. Move the
"qemu/log.h" inclusion locally to each unit requiring it.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220207082756.82600-10-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/api.c b/plugins/api.c index 91e0c7074c..7bf71b189d 100644 --- a/plugins/api.c +++ b/plugins/api.c @@ -36,6 +36,7 @@ #include "qemu/osdep.h" #include "qemu/plugin.h" +#include "qemu/log.h" #include "tcg/tcg.h" #include "exec/exec-all.h" #include "exec/ram_addr.h" |