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 wrap INET only code by #if defined(INET). (...



details:   https://anonhg.NetBSD.org/src/rev/e95c6800291e
branches:  trunk
changeset: 583429:e95c6800291e
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Aug 06 11:22:39 2005 +0000

description:
wrap INET only code by #if defined(INET).  (in __NetBSD__ part)

diffstat:

 sys/dist/pf/net/pf_ioctl.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 12ef5ef75c83 -r e95c6800291e sys/dist/pf/net/pf_ioctl.c
--- a/sys/dist/pf/net/pf_ioctl.c        Sat Aug 06 09:00:20 2005 +0000
+++ b/sys/dist/pf/net/pf_ioctl.c        Sat Aug 06 11:22:39 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf_ioctl.c,v 1.18 2005/07/26 13:09:23 peter Exp $      */
+/*     $NetBSD: pf_ioctl.c,v 1.19 2005/08/06 11:22:39 yamt Exp $       */
 /*     $OpenBSD: pf_ioctl.c,v 1.139 2005/03/03 07:13:39 dhartmei Exp $ */
 
 /*
@@ -2953,6 +2953,7 @@
 }
 
 #ifdef __NetBSD__
+#ifdef INET
 int
 pfil4_wrapper(void *arg, struct mbuf **mp, struct ifnet *ifp, int dir)
 {
@@ -3001,6 +3002,7 @@
 
        return (0);
 }
+#endif /* INET */
 
 #ifdef INET6
 int



Home | Main Index | Thread Index | Old Index