Re: [PATCH 02/22] Reorder headers according to style guide

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

 



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@xxxxxxxxxx>
> 
> Signed-off-by: Christophe de Dinechin <dinechin@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]