aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_vjc.h
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-05-31 23:48:03 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-05-31 23:48:03 +0000
commitf0184ff8e3b84a1c7273492d8854cfaa012060b5 (patch)
treea3614f18ebb460f641055c46c1ae4703125a0458 /sys/netgraph/ng_vjc.h
parentcbcfdbcfe6add167e910cf92c7def46c278a933b (diff)
downloadsrc-f0184ff8e3b84a1c7273492d8854cfaa012060b5.tar.gz
src-f0184ff8e3b84a1c7273492d8854cfaa012060b5.zip
Fix GCC warnings caused by initializing a zero length array. In the process,
simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=97685
Diffstat (limited to 'sys/netgraph/ng_vjc.h')
-rw-r--r--sys/netgraph/ng_vjc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netgraph/ng_vjc.h b/sys/netgraph/ng_vjc.h
index 868eb2b5cb45..1bc653f18856 100644
--- a/sys/netgraph/ng_vjc.h
+++ b/sys/netgraph/ng_vjc.h
@@ -67,13 +67,11 @@ struct ngm_vjc_config {
/* Keep this in sync with the above structure definition */
#define NG_VJC_CONFIG_TYPE_INFO { \
- { \
{ "enableComp", &ng_parse_uint8_type }, \
{ "enableDecomp", &ng_parse_uint8_type }, \
{ "maxChannel", &ng_parse_uint8_type }, \
{ "compressCID", &ng_parse_uint8_type }, \
- { NULL }, \
- } \
+ { NULL } \
}
/* Netgraph commands */