From 930e2cfa1fd90ca9e1880610984d8f393c318c1c Mon Sep 17 00:00:00 2001 From: Max Laier Date: Mon, 14 Jun 2004 03:55:09 +0000 Subject: [PATCH] Unbreak non-ALTQ kernel linking. I forgot about tbr_dequeue. In the end drivers should be building with ALTQ checks by default, but for now build them with the old macros for non-ALTQ kernels. Note: Check new features w/ LINT *and* w/ LINT minus the new feature. Found-by: rwatson --- sys/net/if_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 02bcf1f69556..0354f534cbd8 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -356,7 +356,7 @@ if_handoff(struct ifqueue *ifq, struct mbuf *m, struct ifnet *ifp, int adjust) (*ifp->if_start)(ifp); return (1); } -#if 1 /* ALTQ */ +#ifdef ALTQ #define IFQ_ENQUEUE(ifq, m, err) \ do { \ IF_LOCK(ifq); \