diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-07 17:36:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-07 17:36:52 +0000 |
commit | b4ce11041f318870479c9833c9c77464a502ccf5 (patch) | |
tree | b40c38c263f312163b485961ff05cd0e8173cf82 | |
parent | 21eb3452f1c02a9a3fc2b93147f8feff4257fe93 (diff) | |
download | rspamd-b4ce11041f318870479c9833c9c77464a502ccf5.tar.gz rspamd-b4ce11041f318870479c9833c9c77464a502ccf5.zip |
[Minor] Remove some old unused crap
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | config.h.in | 5 | ||||
-rw-r--r-- | src/libutil/unix-std.h | 5 | ||||
-rw-r--r-- | src/rspamd.c | 6 |
4 files changed, 2 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a41dd8abb..2df938644 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,6 @@ CHECK_INCLUDE_FILES(string.h HAVE_STRING_H) CHECK_INCLUDE_FILES(strings.h HAVE_STRINGS_H) CHECK_INCLUDE_FILES(time.h HAVE_TIME_H) CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H) -CHECK_INCLUDE_FILES(sysexits.h HAVE_SYSEXITS_H) CHECK_INCLUDE_FILES(stdint.h HAVE_STDINT_H) CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H) CHECK_INCLUDE_FILES(stdbool.h HAVE_STDBOOL_H) diff --git a/config.h.in b/config.h.in index b3aefd980..2f4eef401 100644 --- a/config.h.in +++ b/config.h.in @@ -50,7 +50,6 @@ #cmakedefine HAVE_LIBUTIL_H 1 #cmakedefine HAVE_LOCALE_H 1 #cmakedefine HAVE_MACHINE_ENDIAN_H 1 -#cmakedefine HAVE_MATH_H 1 #cmakedefine HAVE_MAXPATHLEN 1 #cmakedefine HAVE_FMEMOPEN 1 #cmakedefine HAVE_MEMSET_S 1 @@ -106,7 +105,6 @@ #cmakedefine HAVE_STRINGS_H 1 #cmakedefine HAVE_STRING_H 1 #cmakedefine HAVE_STROPS_H 1 -#cmakedefine HAVE_SYSEXITS_H 1 #cmakedefine HAVE_SYSLOG_H 1 #cmakedefine HAVE_SYS_CDEFS_H 1 #cmakedefine HAVE_SYS_ENDIAN_H 1 @@ -145,7 +143,6 @@ #cmakedefine WITH_HIREDIS 1 #cmakedefine WITH_HYPERSCAN 1 #cmakedefine WITH_JEMALLOC 1 -#cmakedefine WITH_JUDY 1 #cmakedefine WITH_LUA 1 #cmakedefine WITH_LUAJIT 1 #cmakedefine WITH_PCRE2 1 @@ -430,5 +427,7 @@ extern uint64_t ottery_rand_uint64(void); #endif #define HAVE_OPENSSL 1 +#define HAVE_MATH_H 1 + #endif diff --git a/src/libutil/unix-std.h b/src/libutil/unix-std.h index 218a35ffa..0ce2442a2 100644 --- a/src/libutil/unix-std.h +++ b/src/libutil/unix-std.h @@ -47,11 +47,6 @@ #include <unistd.h> #endif -/* sysexits */ -#ifdef HAVE_SYSEXITS_H -#include <sysexits.h> -#endif - /* strings */ #ifdef HAVE_STRINGS_H #include <strings.h> diff --git a/src/rspamd.c b/src/rspamd.c index f25884f6f..4c355788b 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -23,10 +23,6 @@ #include "cryptobox.h" #include "utlist.h" #include "unix-std.h" -/* sysexits */ -#ifdef HAVE_SYSEXITS_H -#include <sysexits.h> -#endif /* pwd and grp */ #ifdef HAVE_PWD_H #include <pwd.h> @@ -59,8 +55,6 @@ #ifdef HAVE_OPENSSL #include <openssl/err.h> #include <openssl/evp.h> -#include <src/libserver/rspamd_control.h> - #endif #include "sqlite3.h" |