"RB_PROTOTYPE();" does not lint because you end up with two

consecutive semicolons, so let's use RB_PROTOTYPE() alone.
This commit is contained in:
dyoung 2004-09-28 00:14:02 +00:00
parent 79eff8033d
commit 34a3fbf64e

View File

@ -1,4 +1,4 @@
/* $NetBSD: pfvar.h,v 1.4 2004/07/27 12:22:59 yamt Exp $ */ /* $NetBSD: pfvar.h,v 1.5 2004/09/28 00:14:02 dyoung Exp $ */
/* $OpenBSD: pfvar.h,v 1.187 2004/03/22 04:54:18 mcbride Exp $ */ /* $OpenBSD: pfvar.h,v 1.187 2004/03/22 04:54:18 mcbride Exp $ */
/* /*
@ -796,11 +796,11 @@ struct pfr_ktable {
RB_HEAD(pf_state_tree_lan_ext, pf_state); RB_HEAD(pf_state_tree_lan_ext, pf_state);
RB_PROTOTYPE(pf_state_tree_lan_ext, pf_state, RB_PROTOTYPE(pf_state_tree_lan_ext, pf_state,
u.s.entry_lan_ext, pf_state_compare_lan_ext); u.s.entry_lan_ext, pf_state_compare_lan_ext)
RB_HEAD(pf_state_tree_ext_gwy, pf_state); RB_HEAD(pf_state_tree_ext_gwy, pf_state);
RB_PROTOTYPE(pf_state_tree_ext_gwy, pf_state, RB_PROTOTYPE(pf_state_tree_ext_gwy, pf_state,
u.s.entry_ext_gwy, pf_state_compare_ext_gwy); u.s.entry_ext_gwy, pf_state_compare_ext_gwy)
struct pfi_if { struct pfi_if {
char pfif_name[IFNAMSIZ]; char pfif_name[IFNAMSIZ];