提交 15ce35fc 编写于 作者: M Markus Armbruster

include: Include fprintf-fn.h only where needed

Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
Reviewed-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190417191805.28198-2-armbru@redhat.com>
上级 8acb2a75
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#ifndef QEMU_COMMON_H #ifndef QEMU_COMMON_H
#define QEMU_COMMON_H #define QEMU_COMMON_H
#include "qemu/fprintf-fn.h"
#define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR) #define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR)
/* Copyright string for -version arguments, About dialogs, etc */ /* Copyright string for -version arguments, About dialogs, etc */
......
#ifndef QEMU_CUTILS_H #ifndef QEMU_CUTILS_H
#define QEMU_CUTILS_H #define QEMU_CUTILS_H
#include "qemu/fprintf-fn.h"
/** /**
* pstrcpy: * pstrcpy:
* @buf: buffer to copy string into * @buf: buffer to copy string into
......
#ifndef QEMU_CPUS_H #ifndef QEMU_CPUS_H
#define QEMU_CPUS_H #define QEMU_CPUS_H
#include "qemu/fprintf-fn.h"
#include "qemu/timer.h" #include "qemu/timer.h"
/* cpus.c */ /* cpus.c */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册