qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: patches@linaro.org
Subject: [Qemu-devel] [PATCH 13/15] io: Clean up includes
Date: Fri, 29 Jan 2016 17:50:03 +0000	[thread overview]
Message-ID: <1454089805-5470-14-git-send-email-peter.maydell@linaro.org> (raw)
In-Reply-To: <1454089805-5470-1-git-send-email-peter.maydell@linaro.org>

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>
---
 io/channel-buffer.c  | 1 +
 io/channel-command.c | 1 +
 io/channel-file.c    | 1 +
 io/channel-socket.c  | 1 +
 io/channel-tls.c     | 1 +
 io/channel-watch.c   | 1 +
 io/channel-websock.c | 1 +
 io/channel.c         | 1 +
 io/task.c            | 1 +
 9 files changed, 9 insertions(+)

diff --git a/io/channel-buffer.c b/io/channel-buffer.c
index daebc92..0f7c567 100644
--- a/io/channel-buffer.c
+++ b/io/channel-buffer.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-buffer.h"
 #include "io/channel-watch.h"
 #include "qemu/sockets.h"
diff --git a/io/channel-command.c b/io/channel-command.c
index a9c67aa..f53ce0f 100644
--- a/io/channel-command.c
+++ b/io/channel-command.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-command.h"
 #include "io/channel-watch.h"
 #include "qemu/sockets.h"
diff --git a/io/channel-file.c b/io/channel-file.c
index 1360900..19a4325 100644
--- a/io/channel-file.c
+++ b/io/channel-file.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-file.h"
 #include "io/channel-watch.h"
 #include "qemu/sockets.h"
diff --git a/io/channel-socket.c b/io/channel-socket.c
index bc117b1..22d2fd6 100644
--- a/io/channel-socket.c
+++ b/io/channel-socket.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-socket.h"
 #include "io/channel-watch.h"
 #include "trace.h"
diff --git a/io/channel-tls.c b/io/channel-tls.c
index 8ac4f76..7608fd9 100644
--- a/io/channel-tls.c
+++ b/io/channel-tls.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-tls.h"
 #include "trace.h"
 
diff --git a/io/channel-watch.c b/io/channel-watch.c
index 2f745f1..931fa4d 100644
--- a/io/channel-watch.c
+++ b/io/channel-watch.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-watch.h"
 
 typedef struct QIOChannelFDSource QIOChannelFDSource;
diff --git a/io/channel-websock.c b/io/channel-websock.c
index 9273a8b..35860a2 100644
--- a/io/channel-websock.c
+++ b/io/channel-websock.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel-websock.h"
 #include "crypto/hash.h"
 #include "trace.h"
diff --git a/io/channel.c b/io/channel.c
index 5e94469..3fc09f8 100644
--- a/io/channel.c
+++ b/io/channel.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/channel.h"
 #include "qemu/coroutine.h"
 
diff --git a/io/task.c b/io/task.c
index 3127fca..bf1a333 100644
--- a/io/task.c
+++ b/io/task.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "io/task.h"
 #include "qemu/thread.h"
 #include "trace.h"
-- 
1.9.1

  parent reply	other threads:[~2016-01-29 17:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 17:49 [Qemu-devel] [PATCH 00/15] clean includes, part 2 Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 01/15] ui: Clean up includes Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 02/15] stubs: " Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 03/15] bsd-user: " Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 04/15] backends: " Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 05/15] util: " Peter Maydell
2016-02-04 17:38   ` Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 06/15] disas: " Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 07/15] qapi: " Peter Maydell
2016-01-29 18:31   ` Eric Blake
2016-02-08 12:30     ` Peter Maydell
2016-02-08 15:38       ` Eric Blake
2016-01-29 17:49 ` [Qemu-devel] [PATCH 08/15] qga: " Peter Maydell
2016-01-29 17:49 ` [Qemu-devel] [PATCH 09/15] slirp: " Peter Maydell
2016-01-29 17:50 ` [Qemu-devel] [PATCH 10/15] net: " Peter Maydell
2016-01-29 17:50 ` [Qemu-devel] [PATCH 11/15] qobject: " Peter Maydell
2016-01-29 18:35   ` Eric Blake
2016-01-29 17:50 ` [Qemu-devel] [PATCH 12/15] qom: " Peter Maydell
2016-01-29 17:50 ` Peter Maydell [this message]
2016-01-29 17:50 ` [Qemu-devel] [PATCH 14/15] contrib: " Peter Maydell
2016-01-29 17:50 ` [Qemu-devel] [PATCH 15/15] all: " Peter Maydell
2016-02-04 18:23 ` [Qemu-devel] [PATCH 00/15] clean includes, part 2 Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454089805-5470-14-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=patches@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).