Commit 2b8256df authored by Mathis Rosenhauer's avatar Mathis Rosenhauer

Reorder includes

parent 4f10cb84
...@@ -47,12 +47,12 @@ ...@@ -47,12 +47,12 @@
* *
*/ */
#include "config.h"
#include "libaec.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "libaec.h"
#define CHUNK 10485760 #define CHUNK 10485760
int get_param(unsigned int *param, int *iarg, char *argv[]) int get_param(unsigned int *param, int *iarg, char *argv[])
......
...@@ -48,15 +48,15 @@ ...@@ -48,15 +48,15 @@
* *
*/ */
#include "config.h"
#include "decode.h"
#include "libaec.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "decode.h"
#include "libaec.h"
#if HAVE_BSR64 #if HAVE_BSR64
# include <intrin.h> #include <intrin.h>
#endif #endif
#define ROS 5 #define ROS 5
......
...@@ -51,9 +51,9 @@ ...@@ -51,9 +51,9 @@
#ifndef DECODE_H #ifndef DECODE_H
#define DECODE_H 1 #define DECODE_H 1
#include <config.h> #include "config.h"
#include <stdint.h> #include <stdint.h>
#include <stddef.h>
#define M_CONTINUE 1 #define M_CONTINUE 1
#define M_EXIT 0 #define M_EXIT 0
......
...@@ -48,13 +48,13 @@ ...@@ -48,13 +48,13 @@
* *
*/ */
#include <stdio.h> #include "config.h"
#include <stdlib.h>
#include <string.h>
#include "encode.h" #include "encode.h"
#include "encode_accessors.h" #include "encode_accessors.h"
#include "libaec.h" #include "libaec.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int m_get_block(struct aec_stream *strm); static int m_get_block(struct aec_stream *strm);
......
...@@ -51,8 +51,7 @@ ...@@ -51,8 +51,7 @@
#ifndef ENCODE_H #ifndef ENCODE_H
#define ENCODE_H 1 #define ENCODE_H 1
#include <config.h> #include "config.h"
#include <stdint.h> #include <stdint.h>
#define M_CONTINUE 1 #define M_CONTINUE 1
......
...@@ -47,13 +47,12 @@ ...@@ -47,13 +47,12 @@
* *
*/ */
#include <config.h> #include "config.h"
#include "encode_accessors.h"
#include "encode.h"
#include "libaec.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "libaec.h"
#include "encode.h"
#include "encode_accessors.h"
uint32_t aec_get_8(struct aec_stream *strm) uint32_t aec_get_8(struct aec_stream *strm)
{ {
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#define ENCODE_ACCESSORS_H 1 #define ENCODE_ACCESSORS_H 1
#include "config.h" #include "config.h"
#include "libaec.h"
#include <stdint.h> #include <stdint.h>
uint32_t aec_get_8(struct aec_stream *strm); uint32_t aec_get_8(struct aec_stream *strm);
......
#include "config.h"
#include "szlib.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#if HAVE_CONFIG_H
# include <config.h>
#endif
#include "szlib.h"
#define NOPTS 129 #define NOPTS 129
#define MIN(a, b) (((a) < (b))? (a): (b)) #define MIN(a, b) (((a) < (b))? (a): (b))
......
#ifndef SZLIB_H #ifndef SZLIB_H
#define SZLIB_H 1 #define SZLIB_H 1
#include "config.h"
#include "libaec.h" #include "libaec.h"
#define SZ_ALLOW_K13_OPTION_MASK 1 #define SZ_ALLOW_K13_OPTION_MASK 1
#define SZ_CHIP_OPTION_MASK 2 #define SZ_CHIP_OPTION_MASK 2
#define SZ_EC_OPTION_MASK 4 #define SZ_EC_OPTION_MASK 4
#define SZ_LSB_OPTION_MASK 8 #define SZ_LSB_OPTION_MASK 8
#define SZ_MSB_OPTION_MASK 16 #define SZ_MSB_OPTION_MASK 16
#define SZ_NN_OPTION_MASK 32 #define SZ_NN_OPTION_MASK 32
#define SZ_RAW_OPTION_MASK 128 #define SZ_RAW_OPTION_MASK 128
#define SZ_OK AEC_OK #define SZ_OK AEC_OK
#define SZ_OUTBUFF_FULL 2 #define SZ_OUTBUFF_FULL 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment