summaryrefslogtreecommitdiffstats
path: root/src/classifiers
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-15 17:01:03 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-15 17:01:03 +0400
commit958d7dcbadb9190f67aca0bbe2573533ad6fc63d (patch)
tree5d84c8472481fe547fca15b66fd16acefb5791f7 /src/classifiers
parentdbee2f63ee747b5d4247038f27566bc5aebfe3b7 (diff)
downloadrspamd-958d7dcbadb9190f67aca0bbe2573533ad6fc63d.tar.gz
rspamd-958d7dcbadb9190f67aca0bbe2573533ad6fc63d.zip
Remove G_INLINE_FUNC definitions as I misunderstood its purposes.
Diffstat (limited to 'src/classifiers')
-rw-r--r--src/classifiers/bayes.c2
-rw-r--r--src/classifiers/winnow.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/classifiers/bayes.c b/src/classifiers/bayes.c
index 7bc3fde54..274f82ad0 100644
--- a/src/classifiers/bayes.c
+++ b/src/classifiers/bayes.c
@@ -36,7 +36,7 @@
#define LOCAL_PROB_DENOM 16.0
-G_INLINE_FUNC GQuark
+static inline GQuark
bayes_error_quark (void)
{
return g_quark_from_static_string ("bayes-error");
diff --git a/src/classifiers/winnow.c b/src/classifiers/winnow.c
index b7fe4e123..24ee7821c 100644
--- a/src/classifiers/winnow.c
+++ b/src/classifiers/winnow.c
@@ -46,7 +46,7 @@
#define MAX_LEARN_ITERATIONS 100
-G_INLINE_FUNC GQuark
+static inline GQuark
winnow_error_quark (void)
{
return g_quark_from_static_string ("winnow-error");