diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-23 11:58:02 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:30 -0600 |
commit | e8a2b7c3632fa149e11dab8b1721875dde6a689c (patch) | |
tree | c2a2de347c7812544e7de522d291e08e8fd77137 | |
parent | f2dde00a7dfade0ed9ce7d7433b370ae6aab7783 (diff) | |
download | hqemu-e8a2b7c3632fa149e11dab8b1721875dde6a689c.zip hqemu-e8a2b7c3632fa149e11dab8b1721875dde6a689c.tar.gz |
cpu: 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.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | qom/cpu.c | 1 | ||||
-rw-r--r-- | target-i386/cpu.c | 5 |
2 files changed, 2 insertions, 4 deletions
@@ -18,6 +18,7 @@ * <http://www.gnu.org/licenses/gpl-2.0.html> */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qom/cpu.h" #include "sysemu/kvm.h" diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 0af43a3..c78f824 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -16,10 +16,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <inttypes.h> +#include "qemu/osdep.h" #include "cpu.h" #include "sysemu/kvm.h" |