aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/diff.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-07-23 12:53:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-07-23 12:53:08 +0100
commitfe79d8c5a39f2b717f78cc3f3ef21b3cfc46500b (patch)
treec84e6a5d4c5cd78a7a2cc3c7adbc7af5d0541682 /src/libutil/diff.h
parente0483657ff6cf1adc828ccce457814d61fe90a0d (diff)
downloadrspamd-fe79d8c5a39f2b717f78cc3f3ef21b3cfc46500b.tar.gz
rspamd-fe79d8c5a39f2b717f78cc3f3ef21b3cfc46500b.zip
Revert "Unify code style."
This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
Diffstat (limited to 'src/libutil/diff.h')
-rw-r--r--src/libutil/diff.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/libutil/diff.h b/src/libutil/diff.h
index 7caa35dd8..cea5e5d4a 100644
--- a/src/libutil/diff.h
+++ b/src/libutil/diff.h
@@ -55,15 +55,8 @@ struct diff_edit
* @param sn here would be stored a number of differences between a and b
* @return distance between strings or -1 in case of error
*/
-gint rspamd_diff (const void *a,
- gint aoff,
- gint n,
- const void *b,
- gint boff,
- gint m,
- gint dmax,
- GArray *ses,
- gint *sn);
+gint rspamd_diff(const void *a, gint aoff, gint n, const void *b, gint boff, gint m,
+ gint dmax, GArray *ses, gint *sn);
/*
* Calculate distance between two strings (in percentage) using diff algorithm.
@@ -75,7 +68,7 @@ guint32 compare_diff_distance (f_str_t *s1, f_str_t *s2);
* Calculate distance between two strings (in percentage) using diff algorithm. Strings are normalized before:
* all spaces are removed and all characters are lowercased.
* @return 100 in case of identical strings and 0 in case of totally different strings.
- */
+*/
guint32 compare_diff_distance_normalized (f_str_t *s1, f_str_t *s2);
#endif /* DIFF_H_ */