#if __NetBSD__ -> #if defined(__NetBSD__)

This commit is contained in:
pooka 2015-08-31 12:57:45 +00:00
parent b899b8fdca
commit 1d2b607cca

View File

@ -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 @@ lltable_free(struct lltable *llt)
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);