From 8819e10d2559618c835deb5cc7522b7f32ea630a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 4 Jul 2023 22:50:47 +0200 Subject: sanitize #include-s --- src/protocol.h | 1 + src/run_queue.c | 2 -- src/run_queue.h | 2 -- src/server.c | 2 +- src/signal.c | 1 - 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/protocol.h b/src/protocol.h index 77d800b..cde2417 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -8,6 +8,7 @@ #ifndef __PROTOCOL_H__ #define __PROTOCOL_H__ +#include "msg.h" #include "process.h" #include "run_queue.h" diff --git a/src/run_queue.c b/src/run_queue.c index 184dae5..188a651 100644 --- a/src/run_queue.c +++ b/src/run_queue.c @@ -7,8 +7,6 @@ #include "run_queue.h" #include "log.h" -#include "msg.h" -#include "string.h" #include #include diff --git a/src/run_queue.h b/src/run_queue.h index 5447bd4..ac4554b 100644 --- a/src/run_queue.h +++ b/src/run_queue.h @@ -8,8 +8,6 @@ #ifndef __RUN_QUEUE_H__ #define __RUN_QUEUE_H__ -#include "msg.h" - #include struct run; diff --git a/src/server.c b/src/server.c index 6f82888..b48dc79 100644 --- a/src/server.c +++ b/src/server.c @@ -13,12 +13,12 @@ #include "file.h" #include "log.h" #include "msg.h" +#include "process.h" #include "protocol.h" #include "run_queue.h" #include "signal.h" #include "storage.h" #include "storage_sqlite.h" -#include "string.h" #include "tcp_server.h" #include "worker_queue.h" diff --git a/src/signal.c b/src/signal.c index cbe4aed..a4630ac 100644 --- a/src/signal.c +++ b/src/signal.c @@ -6,7 +6,6 @@ */ #include "signal.h" -#include "compiler.h" #include "file.h" #include "log.h" -- cgit v1.2.3