Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Declare __debugused for no DIAGNOSTIC kernels
details: https://anonhg.NetBSD.org/src/rev/f19cd3724c94
branches: trunk
changeset: 341835:f19cd3724c94
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Nov 25 07:06:19 2015 +0000
description:
Declare __debugused for no DIAGNOSTIC kernels
This unbreaks hpcsh GENERIC kernel build.
diffstat:
sys/netinet6/in6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e7b2064b20ee -r f19cd3724c94 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c Wed Nov 25 06:21:26 2015 +0000
+++ b/sys/netinet6/in6.c Wed Nov 25 07:06:19 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.c,v 1.191 2015/11/25 06:21:26 ozaki-r Exp $ */
+/* $NetBSD: in6.c,v 1.192 2015/11/25 07:06:19 ozaki-r Exp $ */
/* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.191 2015/11/25 06:21:26 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.192 2015/11/25 07:06:19 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2284,7 +2284,7 @@
static void
in6_lltable_free_entry(struct lltable *llt, struct llentry *lle)
{
- struct ifnet *ifp;
+ struct ifnet *ifp __debugused;
LLE_WLOCK_ASSERT(lle);
KASSERT(llt != NULL);
Home |
Main Index |
Thread Index |
Old Index