diff --git a/conev.c b/conev.c index 3752bd6..10e415c 100644 --- a/conev.c +++ b/conev.c @@ -1,5 +1,5 @@ #define CONEV_H -#include +#include "conev.h" #include #include diff --git a/desync.c b/desync.c index ab1eeac..281c858 100644 --- a/desync.c +++ b/desync.c @@ -33,9 +33,9 @@ #endif #define STR_MODE -#include -#include -#include +#include "params.h" +#include "packets.h" +#include "error.h" static inline int get_family(struct sockaddr *dst) diff --git a/error.h b/error.h index ecfb4b7..10ce12b 100644 --- a/error.h +++ b/error.h @@ -30,7 +30,7 @@ #endif #endif -inline const int unie(int e) +static inline const int unie(int e) { #ifdef _WIN32 switch (e) { @@ -64,4 +64,4 @@ inline const int unie(int e) #define LOG(s, str, ...) \ if (params.debug >= s) \ fprintf(stderr, str, ##__VA_ARGS__) -#endif +#endif \ No newline at end of file diff --git a/extend.c b/extend.c index bc2b465..08b0939 100644 --- a/extend.c +++ b/extend.c @@ -13,9 +13,9 @@ #include -#include -#include -#include +#include "proxy.h" +#include "error.h" +#include "params.h" #include #include diff --git a/main.c b/main.c index ac7b52b..b5e71e4 100644 --- a/main.c +++ b/main.c @@ -6,10 +6,10 @@ #include #include -#include -#include -#include -#include +#include "params.h" +#include "proxy.h" +#include "packets.h" +#include "error.h" #ifndef _WIN32 #include diff --git a/mpool.c b/mpool.c index 076ecd6..690fae0 100644 --- a/mpool.c +++ b/mpool.c @@ -1,6 +1,6 @@ #include #include -#include +#include "mpool.h" static inline int scmp(const struct elem *p, const struct elem *q) diff --git a/params.h b/params.h index d3559e4..0c664f3 100644 --- a/params.h +++ b/params.h @@ -1,5 +1,5 @@ #include -#include +#include "mpool.h" #ifdef _WIN32 #include diff --git a/proxy.c b/proxy.c index b3c64b4..5fe36de 100644 --- a/proxy.c +++ b/proxy.c @@ -7,11 +7,11 @@ #include #include -#include -#include -#include -#include -#include +#include "proxy.h" +#include "params.h" +#include "conev.h" +#include "extend.h" +#include "error.h" #ifdef _WIN32 #include diff --git a/proxy.h b/proxy.h index b92b6bc..b9db0a8 100644 --- a/proxy.h +++ b/proxy.h @@ -6,7 +6,7 @@ #include #endif -#include +#include "conev.h" struct sockaddr_ina { union {