summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_bridge.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-10-28 14:41:28 +0000
committerru <ru@FreeBSD.org>2005-10-28 14:41:28 +0000
commitbdd1a33a3065615d45fbda8f2131d9823c371946 (patch)
treebb88c6f8f3ad4a90a8fe6f95f81cf689a66a8678 /sys/netgraph/ng_bridge.h
parent6b04c23b7901cbe7658103adf097e804e1b416bc (diff)
downloadFreeBSD-src-bdd1a33a3065615d45fbda8f2131d9823c371946.zip
FreeBSD-src-bdd1a33a3065615d45fbda8f2131d9823c371946.tar.gz
Use variable-sized arrays where appropriate.
Diffstat (limited to 'sys/netgraph/ng_bridge.h')
-rw-r--r--sys/netgraph/ng_bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_bridge.h b/sys/netgraph/ng_bridge.h
index e60a753..0524a96 100644
--- a/sys/netgraph/ng_bridge.h
+++ b/sys/netgraph/ng_bridge.h
@@ -130,7 +130,7 @@ struct ng_bridge_host {
/* Structure returned by NGM_BRIDGE_GET_TABLE */
struct ng_bridge_host_ary {
u_int32_t numHosts;
- struct ng_bridge_host hosts[0];
+ struct ng_bridge_host hosts[];
};
/* Keep this in sync with the above structure definition */
OpenPOWER on IntegriCloud