No more users of this function after conversion to type safe variant,
remove it.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extern struct expr *compound_expr_alloc(const struct location *loc,
enum expr_types etypes);
-extern void compound_expr_add(struct expr *compound, struct expr *expr);
extern void compound_expr_remove(struct expr *compound, struct expr *expr);
extern void list_expr_sort(struct list_head *head);
extern void list_splice_sorted(struct list_head *list, struct list_head *head);
}
}
-void compound_expr_add(struct expr *compound, struct expr *expr)
-{
- list_add_tail(&expr->list, &compound->expr_set.expressions);
- compound->expr_set.size++;
-}
-
void compound_expr_remove(struct expr *compound, struct expr *expr)
{
compound->expr_set.size--;