diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-16 19:50:18 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-16 19:50:18 +0300 |
commit | 0fd2682e113c400af6c43da72543bd75448e5be8 (patch) | |
tree | 9466f2887983571a85f05f1865e9b4990018764e /src/classifiers | |
parent | f2774fb0fa223c998492e69d67f1cd3137c30ec6 (diff) | |
download | rspamd-0fd2682e113c400af6c43da72543bd75448e5be8.tar.gz rspamd-0fd2682e113c400af6c43da72543bd75448e5be8.zip |
* Prepare to migrate to cmake (still need to write install target and working with XS implicitly)
* Move all system includes to one file where we detect availability of all that includes
* Fix license misprint
* Fix some issues with perl initializing
Diffstat (limited to 'src/classifiers')
-rw-r--r-- | src/classifiers/classifiers.c | 2 | ||||
-rw-r--r-- | src/classifiers/classifiers.h | 5 | ||||
-rw-r--r-- | src/classifiers/winnow.c | 4 |
3 files changed, 2 insertions, 9 deletions
diff --git a/src/classifiers/classifiers.c b/src/classifiers/classifiers.c index da6786795..283350972 100644 --- a/src/classifiers/classifiers.c +++ b/src/classifiers/classifiers.c @@ -13,7 +13,7 @@ * THIS SOFTWARE IS PROVIDED BY Rambler media ''AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY + * DISCLAIMED. IN NO EVENT SHALL Rambler BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND diff --git a/src/classifiers/classifiers.h b/src/classifiers/classifiers.h index 2a2929b7d..13a295724 100644 --- a/src/classifiers/classifiers.h +++ b/src/classifiers/classifiers.h @@ -1,12 +1,7 @@ #ifndef CLASSIFIERS_H #define CLASSIFIERS_H -#include <sys/types.h> #include "../config.h" - -#ifdef HAVE_STDINT_H -#include <stdint.h> -#endif #include "../mem_pool.h" #include "../statfile.h" #include "../tokenizers/tokenizers.h" diff --git a/src/classifiers/winnow.c b/src/classifiers/winnow.c index 494a5304a..1b3904e67 100644 --- a/src/classifiers/winnow.c +++ b/src/classifiers/winnow.c @@ -13,7 +13,7 @@ * THIS SOFTWARE IS PROVIDED BY Rambler media ''AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY + * DISCLAIMED. IN NO EVENT SHALL Rambler BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND @@ -26,8 +26,6 @@ * Winnow classifier */ -#include <sys/types.h> -#include <math.h> #include "classifiers.h" #define WINNOW_PROMOTION 1.23 |