Source-Changes-HG archive

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

[src/trunk]: src/sys/net -Wno-shadow for some pf files.



details:   https://anonhg.NetBSD.org/src/rev/ed6d1b18e29f
branches:  trunk
changeset: 581416:ed6d1b18e29f
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Jun 01 14:15:46 2005 +0000

description:
-Wno-shadow for some pf files.
IMO there is no point to fix them in our tree.

diffstat:

 sys/net/files.pf |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 3758f5131ede -r ed6d1b18e29f sys/net/files.pf
--- a/sys/net/files.pf  Wed Jun 01 14:14:55 2005 +0000
+++ b/sys/net/files.pf  Wed Jun 01 14:15:46 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pf,v 1.1 2004/06/22 14:04:04 itojun Exp $
+#      $NetBSD: files.pf,v 1.2 2005/06/01 14:15:46 yamt Exp $
 
 defpseudo pf:          ifnet
 defpseudo pflog:       ifnet
@@ -14,3 +14,7 @@
 #file  dist/pf/net/if_pfsync.c         pfsync          needs-flag
 
 makeoptions    pf      CPPFLAGS+="-I$S/dist/pf"
+
+makeoptions    pf      "CWARNFLAGS.pf.c"+="-Wno-shadow"
+makeoptions    pf      "CWARNFLAGS.pf_norm.c"+="-Wno-shadow"
+makeoptions    pf      "CWARNFLAGS.pf_ioctl.c"+="-Wno-shadow"



Home | Main Index | Thread Index | Old Index