[Spice-devel] [PATCH 02/22] Reorder headers according to style guide

Christophe de Dinechin christophe at dinechin.org
Wed Feb 28 15:43:05 UTC 2018


From: Christophe de Dinechin <dinechin at redhat.com>

Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
 src/spice-streaming-agent.cpp | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index b17e27f..aacfa68 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -4,6 +4,16 @@
  * Copyright 2016-2017 Red Hat Inc. All rights reserved.
  */
 
+#include "concrete-agent.hpp"
+#include "hexdump.h"
+#include "mjpeg-fallback.hpp"
+
+#include <spice/stream-device.h>
+#include <spice/enums.h>
+
+#include <spice-streaming-agent/frame-capture.hpp>
+#include <spice-streaming-agent/plugin.hpp>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
@@ -28,16 +38,6 @@
 #include <X11/Xlib.h>
 #include <X11/extensions/Xfixes.h>
 
-#include <spice/stream-device.h>
-#include <spice/enums.h>
-
-#include <spice-streaming-agent/frame-capture.hpp>
-#include <spice-streaming-agent/plugin.hpp>
-
-#include "hexdump.h"
-#include "concrete-agent.hpp"
-#include "mjpeg-fallback.hpp"
-
 using namespace spice::streaming_agent;
 
 static size_t write_all(int fd, const void *buf, const size_t len);
-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list