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>
This commit is contained in:
Markus Armbruster 2019-04-17 21:17:49 +02:00
parent 8acb2a758b
commit 15ce35fcf1
3 changed files with 1 additions and 4 deletions

View File

@ -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 */

View File

@ -1,8 +1,6 @@
#ifndef QEMU_CUTILS_H
#define QEMU_CUTILS_H
#include "qemu/fprintf-fn.h"
/**
* pstrcpy:
* @buf: buffer to copy string into

View File

@ -1,6 +1,7 @@
#ifndef QEMU_CPUS_H
#define QEMU_CPUS_H
#include "qemu/fprintf-fn.h"
#include "qemu/timer.h"
/* cpus.c */