From: Cole Robinson Date: Fri, 21 Mar 2014 23:42:28 +0000 (-0400) Subject: error: Remove some unused headers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=073a341151ecd02b4d4b7ae01ce7c3ff4e9b71f8;p=qemu.git error: Remove some unused headers Makes it a bit clear how the interdependencies work. Cc: Luiz Capitulino Cc: Markus Armbruster Signed-off-by: Cole Robinson Reviewed-by: Paolo Bonzini Signed-off-by: Luiz Capitulino --- diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h index f5335e67d6..902d1a7a18 100644 --- a/include/qapi/qmp/qerror.h +++ b/include/qapi/qmp/qerror.h @@ -12,7 +12,6 @@ #ifndef QERROR_H #define QERROR_H -#include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/error-report.h" #include "qapi/error.h" diff --git a/util/error.c b/util/error.c index f11f1d57a0..2bb42e1c4b 100644 --- a/util/error.c +++ b/util/error.c @@ -12,10 +12,7 @@ #include "qemu-common.h" #include "qapi/error.h" -#include "qapi/qmp/qjson.h" -#include "qapi/qmp/qdict.h" -#include "qapi-types.h" -#include "qapi/qmp/qerror.h" +#include "qemu/error-report.h" struct Error {