Remove __inline keyword from functions that can't be inlined according to
LINT. This fixes LINT compliation for now, but needs to be revised. Changes do not affect the objects. Approved by: bms(mentor)
This commit is contained in:
parent
e07113d65c
commit
01315efca3
@ -302,7 +302,11 @@ static __inline int pf_state_compare(struct pf_tree_node *,
|
||||
struct pf_state_tree tree_lan_ext, tree_ext_gwy;
|
||||
RB_GENERATE(pf_state_tree, pf_tree_node, entry, pf_state_compare);
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
static int
|
||||
#else
|
||||
static __inline int
|
||||
#endif
|
||||
pf_state_compare(struct pf_tree_node *a, struct pf_tree_node *b)
|
||||
{
|
||||
int diff;
|
||||
|
@ -227,7 +227,11 @@ pf_normalize_init(void)
|
||||
TAILQ_INIT(&pf_cachequeue);
|
||||
}
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
static int
|
||||
#else
|
||||
static __inline int
|
||||
#endif
|
||||
pf_frag_compare(struct pf_fragment *a, struct pf_fragment *b)
|
||||
{
|
||||
int diff;
|
||||
|
Loading…
Reference in New Issue
Block a user