Sort include order in source files

Sort based on coding style.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-12-08 18:31:11 +00:00
parent 48e732e08b
commit 91668cdaab
7 changed files with 22 additions and 16 deletions

View File

@ -24,10 +24,10 @@
#include <fcntl.h>
#include <stddef.h> // NULL
#include <errno.h>
#include <stdbool.h>
#include <spice/macros.h>
#include <spice/vd_agent.h>
#include <spice/protocol.h>
#include <stdbool.h>
#include <common/marshaller.h>
#include <common/messages.h>

View File

@ -18,9 +18,11 @@
#include <config.h>
#endif
#include <stdio.h>
#include <jpeglib.h>
#include "red-common.h"
#include "jpeg-encoder.h"
#include <jpeglib.h>
typedef struct JpegEncoder {
JpegEncoderUsrContext *usr;

View File

@ -19,12 +19,14 @@
#include <config.h>
#endif
#include <stdio.h>
#include <inttypes.h>
#include <jerror.h>
#include <jpeglib.h>
#include "red-common.h"
#include "video-encoder.h"
#include "utils.h"
#include <jerror.h>
#include <jpeglib.h>
#include <inttypes.h>
#define MJPEG_MAX_FPS 25
#define MJPEG_MIN_FPS 1

View File

@ -19,12 +19,6 @@
#include <config.h>
#endif
#include "main-dispatcher.h"
#include "red-common.h"
#include <common/log.h>
#include "reds-stream.h"
#include "reds.h"
#include <errno.h>
#include <netdb.h>
#include <unistd.h>
@ -35,6 +29,13 @@
#include <openssl/err.h>
#include <common/log.h>
#include "main-dispatcher.h"
#include "red-common.h"
#include "reds-stream.h"
#include "reds.h"
struct AsyncRead {
RedsStream *stream;
void *opaque;

View File

@ -27,6 +27,9 @@
#include <string.h>
#include <netinet/in.h> // IPPROTO_TCP
#include <netinet/tcp.h> // TCP_NODELAY
#ifdef USE_LZ4
#include <lz4.h>
#endif
#include <common/generated_server_marshallers.h>
@ -35,9 +38,6 @@
#include "red-channel-client.h"
#include "reds.h"
#include "migration-protocol.h"
#ifdef USE_LZ4
#include <lz4.h>
#endif
/* todo: add flow control. i.e.,
* (a) limit the tokens available for the client

View File

@ -19,9 +19,9 @@
#endif
#include <spice/qxl_dev.h>
#include "red-parse-qxl.h"
#include "display-channel.h"
#include "tree.h"
static const char *draw_type_to_str(uint8_t type)

View File

@ -19,9 +19,10 @@
#include <config.h>
#endif
#include <zlib.h>
#include "red-common.h"
#include "zlib-encoder.h"
#include <zlib.h>
struct ZlibEncoder {
ZlibEncoderUsrContext *usr;