Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 Replace __debugused with __diagused



details:   https://anonhg.NetBSD.org/src/rev/7929635899d3
branches:  trunk
changeset: 341874:7929635899d3
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Nov 27 02:54:22 2015 +0000

description:
Replace __debugused with __diagused

Declaring __debugused was just a mistake. This fixes builds of kernels with
DEBUG but without DIAGNOSTIC.

diffstat:

 sys/netinet6/in6.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 192f02531473 -r 7929635899d3 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c        Fri Nov 27 00:36:58 2015 +0000
+++ b/sys/netinet6/in6.c        Fri Nov 27 02:54:22 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6.c,v 1.192 2015/11/25 07:06:19 ozaki-r Exp $        */
+/*     $NetBSD: in6.c,v 1.193 2015/11/27 02:54:22 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.192 2015/11/25 07:06:19 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.193 2015/11/27 02:54:22 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 __debugused;
+       struct ifnet *ifp __diagused;
 
        LLE_WLOCK_ASSERT(lle);
        KASSERT(llt != NULL);



Home | Main Index | Thread Index | Old Index