Module Name: src Committed By: knakahara Date: Mon Jun 20 08:18:59 UTC 2016
Modified Files: src/sys/net: if.h Log Message: fix: i386 build failure To generate a diff of this commit: cvs rdiff -u -r1.209 -r1.210 src/sys/net/if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if.h diff -u src/sys/net/if.h:1.209 src/sys/net/if.h:1.210 --- src/sys/net/if.h:1.209 Mon Jun 20 06:41:15 2016 +++ src/sys/net/if.h Mon Jun 20 08:18:59 2016 @@ -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 @@ typedef struct ifnet { #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 @@ if_output_lock(struct ifnet *cifp, struc return ret; } } +#endif /* _KERNEL */ #define IFFBITS \ "\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6NOTRAILERS" \