commit 4d5f68b: [Minor] Remove some useless includes

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Jun 27 19:42:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-06-27 20:35:37 +0100
URL: https://github.com/rspamd/rspamd/commit/4d5f68b64773dee39a10dfa5df6a4b4dd2068a09 (HEAD -> master)

[Minor] Remove some useless includes

---
 src/plugins/chartable.c | 1 -
 src/rspamd.c            | 6 ------
 2 files changed, 7 deletions(-)

diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index 636bb123b..e1348b561 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -27,7 +27,6 @@
 #include "libmime/message.h"
 #include "rspamd.h"
 #include "libstat/stat_api.h"
-#include "libstat/tokenizers/tokenizers.h"
 #include "libmime/lang_detection.h"
 
 #include "unicode/utf8.h"
diff --git a/src/rspamd.c b/src/rspamd.c
index 7ea403258..a67e79165 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -36,18 +36,12 @@
 #endif
 
 #include <signal.h>
-#ifdef HAVE_SYS_WAIT_H
-#include <sys/wait.h>
-#endif
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif
 #ifdef HAVE_LIBUTIL_H
 #include <libutil.h>
 #endif
-#ifdef HAVE_STROPS_H
-#include <stropts.h>
-#endif
 
 #ifdef HAVE_OPENSSL
 #include <openssl/err.h>


More information about the Commits mailing list