diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-02-29 16:34:43 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-02-29 16:34:43 +0000 |
commit | bc8fb9651973fa74a3c9d89c8a5922bd575574bc (patch) | |
tree | 766a34eca9a4f2fd04d23939663e0361c46192f0 /sys/contrib/pf | |
parent | 3b41514956d916c1b29ff3b86d1389d4b79f6527 (diff) | |
download | FreeBSD-src-bc8fb9651973fa74a3c9d89c8a5922bd575574bc.zip FreeBSD-src-bc8fb9651973fa74a3c9d89c8a5922bd575574bc.tar.gz |
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)
Diffstat (limited to 'sys/contrib/pf')
-rw-r--r-- | sys/contrib/pf/net/pf.c | 4 | ||||
-rw-r--r-- | sys/contrib/pf/net/pf_norm.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/contrib/pf/net/pf.c b/sys/contrib/pf/net/pf.c index 81b74c3..d1fc74b 100644 --- a/sys/contrib/pf/net/pf.c +++ b/sys/contrib/pf/net/pf.c @@ -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; diff --git a/sys/contrib/pf/net/pf_norm.c b/sys/contrib/pf/net/pf_norm.c index 8f597d8..f5607ce 100644 --- a/sys/contrib/pf/net/pf_norm.c +++ b/sys/contrib/pf/net/pf_norm.c @@ -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; |