From 131fb63c625cc6708ab771b6e0975a3b44e908c1 Mon Sep 17 00:00:00 2001 From: mlaier Date: Mon, 14 Jun 2004 03:55:09 +0000 Subject: 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(-) (limited to 'sys/net') diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 02bcf1f..0354f53 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); \ -- cgit v1.1