qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/15] io: Clean up includes


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 13/15] io: Clean up includes
Date: Fri, 29 Jan 2016 17:50:03 +0000

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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]