summaryrefslogtreecommitdiff
path: root/sys
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
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')
-rw-r--r--sys/conf/files6
-rw-r--r--sys/net/hfsc.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 64de07047c4..a335c67ef70 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.647 2017/05/29 12:58:37 jmatthew Exp $
+# $OpenBSD: files,v 1.648 2017/06/28 18:24:02 mikeb Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -572,7 +572,8 @@ file net/pf_table.c pf
file net/pf_osfp.c pf
file net/pf_if.c pf
file net/pf_lb.c pf
-file net/hfsc.c ifnet
+file net/hfsc.c pf
+file net/fq_codel.c pf
pseudo-device pflog: ifnet
file net/if_pflog.c pflog needs-flag
@@ -763,7 +764,6 @@ file tmpfs/tmpfs_fifoops.c tmpfs & fifo
file net/art.c art
file net/bpf.c bpfilter needs-count
file net/bpf_filter.c bpfilter
-file net/fq_codel.c pf
file net/if.c
file net/ifq.c
file net/if_ethersubr.c ether needs-flag
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