Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dist/pf/net "RB_PROTOTYPE(); " does not lint because you ...



details:   https://anonhg.NetBSD.org/src/rev/fca43f6b9ed5
branches:  trunk
changeset: 570184:fca43f6b9ed5
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue Sep 28 00:14:02 2004 +0000

description:
"RB_PROTOTYPE();" does not lint because you end up with two
consecutive semicolons, so let's use RB_PROTOTYPE() alone.

diffstat:

 sys/dist/pf/net/pfvar.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c4393d9ccaf0 -r fca43f6b9ed5 sys/dist/pf/net/pfvar.h
--- a/sys/dist/pf/net/pfvar.h   Tue Sep 28 00:01:02 2004 +0000
+++ b/sys/dist/pf/net/pfvar.h   Tue Sep 28 00:14:02 2004 +0000
@@ -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 $ */
 
 /*
@@ -796,11 +796,11 @@
 
 RB_HEAD(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_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 {
        char                             pfif_name[IFNAMSIZ];



Home | Main Index | Thread Index | Old Index