summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2017-06-28 18:24:03 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2017-06-28 18:24:03 +0000
commite7d423d8be4ef3eae55043fa62fdf43c48708ac8 (patch)
tree81d1fc4db637d89000a6817ce28038d3ac1bb44c /sys/net
parent400eab3270c69f8e04bce20a6a2ba165e3a39478 (diff)
hfsc.c should depend on pf instead of inet
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/hfsc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/hfsc.c b/sys/net/hfsc.c
index 795e42f7f2a..195f88092b8 100644
--- a/sys/net/hfsc.c
+++ b/sys/net/hfsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hfsc.c,v 1.40 2017/06/12 23:20:10 dlg Exp $ */
+/* $OpenBSD: hfsc.c,v 1.41 2017/06/28 18:24:02 mikeb Exp $ */
/*
* Copyright (c) 2012-2013 Henning Brauer <henning@openbsd.org>
@@ -60,9 +60,6 @@
#include <net/pfvar.h>
#include <net/hfsc.h>
-/* need to provide dummies for hfsc-less kernels to reduce the if.h horror */
-#include "pf.h"
-#if NPF > 0
/*
* kernel internal service curve representation
* coordinates are given by 64 bit unsigned integers.
@@ -1597,4 +1594,3 @@ hfsc_clh2cph(struct hfsc_if *hif, u_int32_t chandle)
return (cl);
return (NULL);
}
-#endif