aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2001-02-23 16:34:22 +0000
committerJulian Elischer <julian@FreeBSD.org>2001-02-23 16:34:22 +0000
commitbfa7e882d1e98136177db4dae104d5b263a61fdc (patch)
treecd89700d0f098c7afa8dc270e2e6285f6f457889 /sys/netgraph/netgraph.h
parent7c1d4b3ae901ee2c7a3537b10db787464fb26df0 (diff)
downloadsrc-bfa7e882d1e98136177db4dae104d5b263a61fdc.tar.gz
src-bfa7e882d1e98136177db4dae104d5b263a61fdc.zip
Notes
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 21db90b74b3c..faef2e5178e1 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -1124,7 +1124,11 @@ MALLOC_DECLARE(M_NETGRAPH);
MALLOC_DECLARE(M_NETGRAPH_MSG);
MALLOC_DECLARE(M_NETGRAPH_META);
-
+/* declare the base of the netgraph sysclt hierarchy */
+/* but only if this file cares about sysctls */
+#ifdef SYSCTL_DECL
+SYSCTL_DECL(_net_graph);
+#endif
/*
* Methods that the nodes can use.