[Midnightbsd-cvs] src: pf_ruleset.c: Temporarily disable inlining on this function.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Mar 29 11:49:15 EDT 2009


Log Message:
-----------
Temporarily disable inlining on this function.  It's flipping out during LINT builds on sparc64.

Modified Files:
--------------
    src/sys/contrib/pf/net:
        pf_ruleset.c (r1.2 -> r1.3)

-------------- next part --------------
Index: pf_ruleset.c
===================================================================
RCS file: /home/cvs/src/sys/contrib/pf/net/pf_ruleset.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -L sys/contrib/pf/net/pf_ruleset.c -L sys/contrib/pf/net/pf_ruleset.c -u -r1.2 -r1.3
--- sys/contrib/pf/net/pf_ruleset.c
+++ sys/contrib/pf/net/pf_ruleset.c
@@ -107,12 +107,13 @@
 #endif
 #endif
 
-static __inline int pf_anchor_compare(struct pf_anchor *, struct pf_anchor *);
+/* __inline XXX  fails on sparc */
+static int pf_anchor_compare(struct pf_anchor *, struct pf_anchor *);
 
 RB_GENERATE(pf_anchor_global, pf_anchor, entry_global, pf_anchor_compare);
 RB_GENERATE(pf_anchor_node, pf_anchor, entry_node, pf_anchor_compare);
 
-static __inline int
+static int
 pf_anchor_compare(struct pf_anchor *a, struct pf_anchor *b)
 {
 	int c = strcmp(a->path, b->path);


More information about the Midnightbsd-cvs mailing list