[Spice-devel] [PATCH 02/22] Reorder headers according to style guide
Christophe Fergeau
cfergeau at redhat.com
Wed Feb 28 17:39:05 UTC 2018
The style guide also recommends to put config.h there.
Christophe
On Wed, Feb 28, 2018 at 04:43:05PM +0100, Christophe de Dinechin wrote:
> 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)
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180228/b198d0fc/attachment.sig>
More information about the Spice-devel
mailing list