diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-04 22:50:47 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-04 22:50:47 +0200 |
commit | 8819e10d2559618c835deb5cc7522b7f32ea630a (patch) | |
tree | 22b90c21a0a602f19d598b47a6d6e9e5a5f0c704 | |
parent | worker: close the leftover descriptor (diff) | |
download | cimple-8819e10d2559618c835deb5cc7522b7f32ea630a.tar.gz cimple-8819e10d2559618c835deb5cc7522b7f32ea630a.zip |
sanitize #include-s
Diffstat (limited to '')
-rw-r--r-- | src/protocol.h | 1 | ||||
-rw-r--r-- | src/run_queue.c | 2 | ||||
-rw-r--r-- | src/run_queue.h | 2 | ||||
-rw-r--r-- | src/server.c | 2 | ||||
-rw-r--r-- | 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 <stdlib.h> #include <string.h> 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 <sys/queue.h> 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" |