Re: [PATCH 1/2] server/red_worker.h: order includes correcty

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

 



Do we document anywhere what is a 'correct' order? I assume it's config.h,
alphabetically ordered system headers (with subdirs coming last), and
finally local headers?
I assume this is pretty standard practice, but I always have to think to
remember exactly how to order things :)

Christophe

On Thu, Aug 29, 2013 at 04:23:04PM +0300, Alon Levy wrote:
> ---
>  server/red_worker.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 0c611d0..fc7463d 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -44,9 +44,10 @@
>  #include <pthread.h>
>  #include <netinet/tcp.h>
>  #include <setjmp.h>
> -#include <openssl/ssl.h>
>  #include <inttypes.h>
>  
> +#include <openssl/ssl.h>
> +
>  #include <spice/protocol.h>
>  #include <spice/qxl_dev.h>
>  #include "common/lz.h"
> -- 
> 1.8.3.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgprwCZcI2kxX.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]