Source-Changes-HG archive

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

[src/trunk]: src/sys/net #if __NetBSD__ -> #if defined(__NetBSD__)



details:   https://anonhg.NetBSD.org/src/rev/490c0b3d0e57
branches:  trunk
changeset: 340325:490c0b3d0e57
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 31 12:57:45 2015 +0000

description:
#if __NetBSD__ -> #if defined(__NetBSD__)

diffstat:

 sys/net/if_llatbl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 35002fe494c2 -r 490c0b3d0e57 sys/net/if_llatbl.c
--- a/sys/net/if_llatbl.c       Mon Aug 31 12:00:12 2015 +0000
+++ b/sys/net/if_llatbl.c       Mon Aug 31 12:57:45 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_llatbl.c,v 1.2 2015/08/31 08:05:20 ozaki-r Exp $    */
+/*     $NetBSD: if_llatbl.c,v 1.3 2015/08/31 12:57:45 pooka Exp $      */
 /*
  * Copyright (c) 2004 Luigi Rizzo, Alessandro Cerri. All rights reserved.
  * Copyright (c) 2004-2008 Qing Li. All rights reserved.
@@ -373,7 +373,7 @@
        LIST_FOREACH_SAFE(lle, &dchain, lle_chain, next) {
                if (callout_stop(&lle->la_timer))
                        LLE_REMREF(lle);
-#if __NetBSD__
+#if defined(__NetBSD__)
                /* XXX should have callback? */
                if (lle->la_rt != NULL)
                        rtfree(lle->la_rt);



Home | Main Index | Thread Index | Old Index