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:
Max Laier 2004-02-29 16:34:43 +00:00
parent e07113d65c
commit 01315efca3
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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;