diff options
Diffstat (limited to 'filter/tree.c')
-rw-r--r-- | filter/tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filter/tree.c b/filter/tree.c index f6ab75b4..d27db18b 100644 --- a/filter/tree.c +++ b/filter/tree.c @@ -53,6 +53,11 @@ build_tree_rec(struct f_tree **buf, int l, int h) return n; } +static int +tree_compare(const void *p1, const void *p2) +{ + return val_compare((* (struct f_tree **) p1)->from, (* (struct f_tree **) p2)->from); +} /** * build_tree |