aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-04-17 21:17:49 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-04-18 22:18:59 +0200
commit15ce35fcf18f88e345bd65c169f26d3a3d250ab9 (patch)
tree54e57200e61039ddb667e9e2717c74ca7aa31dee
parent8acb2a758bdeb15027ae3150fc0f4e14f6078006 (diff)
downloadqemu-15ce35fcf18f88e345bd65c169f26d3a3d250ab9.zip
qemu-15ce35fcf18f88e345bd65c169f26d3a3d250ab9.tar.gz
qemu-15ce35fcf18f88e345bd65c169f26d3a3d250ab9.tar.bz2
include: Include fprintf-fn.h only where needed
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20190417191805.28198-2-armbru@redhat.com>
-rw-r--r--include/qemu-common.h2
-rw-r--r--include/qemu/cutils.h2
-rw-r--r--include/sysemu/cpus.h1
3 files changed, 1 insertions, 4 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index a102245..f891e05 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -12,8 +12,6 @@
#ifndef QEMU_COMMON_H
#define QEMU_COMMON_H
-#include "qemu/fprintf-fn.h"
-
#define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR)
/* Copyright string for -version arguments, About dialogs, etc */
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h
index d2dad30..1230134 100644
--- a/include/qemu/cutils.h
+++ b/include/qemu/cutils.h
@@ -1,8 +1,6 @@
#ifndef QEMU_CUTILS_H
#define QEMU_CUTILS_H
-#include "qemu/fprintf-fn.h"
-
/**
* pstrcpy:
* @buf: buffer to copy string into
diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h
index 731756d..eea0010 100644
--- a/include/sysemu/cpus.h
+++ b/include/sysemu/cpus.h
@@ -1,6 +1,7 @@
#ifndef QEMU_CPUS_H
#define QEMU_CPUS_H
+#include "qemu/fprintf-fn.h"
#include "qemu/timer.h"
/* cpus.c */