Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Fix building kernels w/o DIAGNOSTIC
details: https://anonhg.NetBSD.org/src/rev/7668c4e48164
branches: trunk
changeset: 340320:7668c4e48164
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Aug 31 09:21:55 2015 +0000
description:
Fix building kernels w/o DIAGNOSTIC
diffstat:
sys/netinet/in.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r b962182c222b -r 7668c4e48164 sys/netinet/in.c
--- a/sys/netinet/in.c Mon Aug 31 08:08:20 2015 +0000
+++ b/sys/netinet/in.c Mon Aug 31 09:21:55 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in.c,v 1.159 2015/08/31 08:05:20 ozaki-r Exp $ */
+/* $NetBSD: in.c,v 1.160 2015/08/31 09:21:55 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.159 2015/08/31 08:05:20 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.160 2015/08/31 09:21:55 ozaki-r Exp $");
#include "arp.h"
@@ -1604,7 +1604,7 @@
static void
in_lltable_free_entry(struct lltable *llt, struct llentry *lle)
{
- struct ifnet *ifp;
+ struct ifnet *ifp __diagused;
size_t pkts_dropped;
LLE_WLOCK_ASSERT(lle);
@@ -1749,7 +1749,7 @@
const struct sockaddr *l3addr)
{
const struct sockaddr_in *sin = (const struct sockaddr_in *)l3addr;
- struct ifnet *ifp = llt->llt_ifp;
+ struct ifnet *ifp __diagused = llt->llt_ifp;
struct llentry *lle;
IF_AFDATA_WLOCK_ASSERT(ifp);
Home |
Main Index |
Thread Index |
Old Index