diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2018-07-24 16:35:52 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2018-07-24 16:35:52 +0000 |
commit | 5f901c92a8d99227901f548f0b755b31d9dd8525 (patch) | |
tree | 90ee09df9416f8603c23b2fa89cb65e6da1c5637 /sys/netgraph/ng_iface.c | |
parent | 8f958ba91e49bdac1b41f93245619d547618a2b1 (diff) | |
download | src-5f901c92a8d99227901f548f0b755b31d9dd8525.tar.gz src-5f901c92a8d99227901f548f0b755b31d9dd8525.zip |
Use the new VNET_DEFINE_STATIC macro when we are defining static VNET
variables.
Reviewed by: bz
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D16147
Notes
Notes:
svn path=/head/; revision=336676
Diffstat (limited to 'sys/netgraph/ng_iface.c')
-rw-r--r-- | sys/netgraph/ng_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index 3079f002f807..81546bd11beb 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -199,7 +199,7 @@ static struct ng_type typestruct = { }; NETGRAPH_INIT(iface, &typestruct); -static VNET_DEFINE(struct unrhdr *, ng_iface_unit); +VNET_DEFINE_STATIC(struct unrhdr *, ng_iface_unit); #define V_ng_iface_unit VNET(ng_iface_unit) /************************************************************************ |