From 3e1c335bb983d479cb9387f285d8830dc87d5b75 Mon Sep 17 00:00:00 2001 From: alfred Date: Sat, 1 Jun 2002 19:54:21 +0000 Subject: Unbreak LINT by compensating for the ng_parse_struct_info -> ng_parse_struct_field change. --- sys/i4b/driver/i4b_ing.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/i4b') diff --git a/sys/i4b/driver/i4b_ing.c b/sys/i4b/driver/i4b_ing.c index c6eb497..c82dabc 100644 --- a/sys/i4b/driver/i4b_ing.c +++ b/sys/i4b/driver/i4b_ing.c @@ -150,11 +150,9 @@ struct ngingstat { * This needs to be kept in sync with the above structure definition */ #define NG_ING_STATS_TYPE_INFO { \ - { \ { "packets_in", &ng_parse_int32_type }, \ { "packets_out", &ng_parse_int32_type }, \ { NULL }, \ - } \ } /* @@ -172,11 +170,12 @@ static ng_disconnect_t ng_ing_disconnect; /* Parse type for struct ngingstat */ static const struct - ng_parse_struct_info ng_ing_stat_type_info = NG_ING_STATS_TYPE_INFO; + ng_parse_struct_field ng_ing_stat_type_fields[] = + NG_ING_STATS_TYPE_INFO; static const struct ng_parse_type ng_ing_stat_type = { &ng_parse_struct_type, - &ng_ing_stat_type_info + &ng_ing_stat_type_fields }; /* List of commands and how to convert arguments to/from ASCII */ -- cgit v1.1