summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pppoe.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-05-31 23:48:03 +0000
committerarchie <archie@FreeBSD.org>2002-05-31 23:48:03 +0000
commitb10887dc2b5e16221d7f03cd5ac6ef4fb431be07 (patch)
treea3614f18ebb460f641055c46c1ae4703125a0458 /sys/netgraph/ng_pppoe.h
parent5f569c908a7d63a3364c4e60c565498bceb4ff53 (diff)
downloadFreeBSD-src-b10887dc2b5e16221d7f03cd5ac6ef4fb431be07.zip
FreeBSD-src-b10887dc2b5e16221d7f03cd5ac6ef4fb431be07.tar.gz
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
Diffstat (limited to 'sys/netgraph/ng_pppoe.h')
-rw-r--r--sys/netgraph/ng_pppoe.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netgraph/ng_pppoe.h b/sys/netgraph/ng_pppoe.h
index 56ba641..78865b5 100644
--- a/sys/netgraph/ng_pppoe.h
+++ b/sys/netgraph/ng_pppoe.h
@@ -91,11 +91,9 @@ struct ngpppoestat {
/* Keep this in sync with the above structure definition */
#define NG_PPPOESTAT_TYPE_INFO { \
- { \
{ "packets_in", &ng_parse_uint_type }, \
{ "packets_out", &ng_parse_uint_type }, \
{ NULL } \
- } \
}
/*
@@ -124,11 +122,9 @@ struct ngpppoe_init_data {
/* Keep this in sync with the above structure definition */
#define NG_PPPOE_INIT_DATA_TYPE_INFO { \
- { \
{ "hook", &ng_parse_hookbuf_type }, \
{ "data", &ng_parse_sizedstring_type }, \
{ NULL } \
- } \
}
/*
@@ -142,10 +138,8 @@ struct ngpppoe_sts {
/* Keep this in sync with the above structure definition */
#define NG_PPPOE_STS_TYPE_INFO { \
- { \
{ "hook", &ng_parse_hookbuf_type }, \
{ NULL } \
- } \
}
OpenPOWER on IntegriCloud