From 829ea0768672dad977ddeb30dd5e2b254bb4a4e9 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 1 Jul 2020 17:06:54 +0200 Subject: Change include configuration for shared directory to make header includes clearer --- minecproxy/idle.c | 2 +- minecproxy/main.c | 2 +- minecproxy/main.h | 2 +- minecproxy/misc.h | 2 +- minecproxy/server-config.c | 2 +- minecproxy/server-rcon.c | 2 +- minecproxy/server.c | 2 +- minecproxy/server.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'minecproxy') diff --git a/minecproxy/idle.c b/minecproxy/idle.c index 3269a89..e237533 100644 --- a/minecproxy/idle.c +++ b/minecproxy/idle.c @@ -11,7 +11,7 @@ #include "server.h" #include "idle.h" #include "ptimer.h" -#include "mc-protocol.h" +#include "shared/mc-protocol.h" struct idle { struct ptimer_task ptask; diff --git a/minecproxy/main.c b/minecproxy/main.c index 92961e2..6a02531 100644 --- a/minecproxy/main.c +++ b/minecproxy/main.c @@ -19,7 +19,7 @@ #include "main.h" #include "signal-handler.h" #include "uring.h" -#include "config-parser.h" +#include "shared/config-parser.h" #include "server.h" #include "server-config.h" #include "announce.h" diff --git a/minecproxy/main.h b/minecproxy/main.h index c46169a..b49cd72 100644 --- a/minecproxy/main.h +++ b/minecproxy/main.h @@ -8,7 +8,7 @@ struct cfg; struct uring_task; #include "misc.h" -#include "utils.h" +#include "shared/utils.h" extern struct cfg *cfg; extern bool exiting; diff --git a/minecproxy/misc.h b/minecproxy/misc.h index 70b84c7..559c1d7 100644 --- a/minecproxy/misc.h +++ b/minecproxy/misc.h @@ -7,7 +7,7 @@ #include #include -#include "utils.h" +#include "shared/utils.h" void debug_resource_usage(); diff --git a/minecproxy/server-config.c b/minecproxy/server-config.c index aab9ffb..9d79af7 100644 --- a/minecproxy/server-config.c +++ b/minecproxy/server-config.c @@ -11,7 +11,7 @@ #include "main.h" #include "uring.h" -#include "config-parser.h" +#include "shared/config-parser.h" #include "server.h" #include "server-config.h" #include "config.h" diff --git a/minecproxy/server-rcon.c b/minecproxy/server-rcon.c index 9ae49ef..1f3acfa 100644 --- a/minecproxy/server-rcon.c +++ b/minecproxy/server-rcon.c @@ -14,7 +14,7 @@ #include "uring.h" #include "server.h" #include "server-rcon.h" -#include "rcon-protocol.h" +#include "shared/rcon-protocol.h" static int rcon_packet_complete(struct uring_task *task, _unused_ int res) { diff --git a/minecproxy/server.c b/minecproxy/server.c index 13396ef..84a50ee 100644 --- a/minecproxy/server.c +++ b/minecproxy/server.c @@ -17,7 +17,7 @@ #include "server-config.h" #include "server-proxy.h" #include "server-rcon.h" -#include "config-parser.h" +#include "shared/config-parser.h" #include "idle.h" #include "systemd.h" diff --git a/minecproxy/server.h b/minecproxy/server.h index 6545903..da2a336 100644 --- a/minecproxy/server.h +++ b/minecproxy/server.h @@ -1,7 +1,7 @@ #ifndef fooserverhfoo #define fooserverhfoo -#include "config-parser.h" +#include "shared/config-parser.h" /* clang-format off */ enum server_state { -- cgit v1.2.3