aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_bridge.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-10-28 14:41:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-10-28 14:41:28 +0000
commitd56ace0997af011ce7efb9f10b0bd840892a9c90 (patch)
treebb88c6f8f3ad4a90a8fe6f95f81cf689a66a8678 /sys/netgraph/ng_bridge.h
parentc2888a85bc4b80f0c6cd0a63fbbb300ae42a1001 (diff)
downloadsrc-d56ace0997af011ce7efb9f10b0bd840892a9c90.tar.gz
src-d56ace0997af011ce7efb9f10b0bd840892a9c90.zip
Use variable-sized arrays where appropriate.
Notes
Notes: svn path=/head/; revision=151800
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 e60a75311dca..0524a96cb36f 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 */