summaryrefslogtreecommitdiff
path: root/sys/altq/altq_var.h
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2002-02-13 08:06:15 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2002-02-13 08:06:15 +0000
commitbab5fb456d0ccdc78b1915ae1f6496f4ea5486b7 (patch)
treed3f79c01eb3f896263c2bda362dcb5b0aa40d707 /sys/altq/altq_var.h
parent9f08d8c15c2565611c7cc95d64930b4e295480a2 (diff)
move ALTQ_RED and ALTQ_CBQ from altq.h to altq_var.h.
protect them from duplicated defines.
Diffstat (limited to 'sys/altq/altq_var.h')
-rw-r--r--sys/altq/altq_var.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/altq/altq_var.h b/sys/altq/altq_var.h
index 213352a72b1..98e192f21ba 100644
--- a/sys/altq/altq_var.h
+++ b/sys/altq/altq_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_var.h,v 1.1 2001/06/27 05:28:36 kjc Exp $ */
+/* $OpenBSD: altq_var.h,v 1.2 2002/02/13 08:06:14 kjc Exp $ */
/* $KAME: altq_var.h,v 1.8 2001/02/09 09:44:41 kjc Exp $ */
/*
@@ -35,6 +35,13 @@
#include <sys/kernel.h>
#include <sys/queue.h>
+#ifndef ALTQ_RED
+#define ALTQ_RED /* RED is enabled by default */
+#endif
+#ifndef ALTQ_CBQ
+#define ALTQ_CBQ /* CBQ is enabled by default */
+#endif
+
/*
* filter structure for altq common classifier
*/