Source-Changes-HG archive

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

[src/trunk]: src/sys/net fix: i386 build failure



details:   https://anonhg.NetBSD.org/src/rev/6c95d3a83af4
branches:  trunk
changeset: 346042:6c95d3a83af4
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jun 20 08:18:59 2016 +0000

description:
fix: i386 build failure

diffstat:

 sys/net/if.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r c61da8bec81d -r 6c95d3a83af4 sys/net/if.h
--- a/sys/net/if.h      Mon Jun 20 08:14:41 2016 +0000
+++ b/sys/net/if.h      Mon Jun 20 08:18:59 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.209 2016/06/20 06:41:15 knakahara Exp $       */
+/*     $NetBSD: if.h,v 1.210 2016/06/20 08:18:59 knakahara Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -382,6 +382,7 @@
 #define        IFEF_OUTPUT_MPSAFE      0x0001  /* if_output() can run parallel */
 #define        IFEF_START_MPSAFE       0x0002  /* if_start() can run parallel */
 
+#ifdef _KERNEL
 static inline bool
 if_output_is_mpsafe(struct ifnet *ifp)
 {
@@ -405,6 +406,7 @@
                return ret;
        }
 }
+#endif /* _KERNEL */
 
 #define        IFFBITS \
     "\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6NOTRAILERS" \



Home | Main Index | Thread Index | Old Index