summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_message.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-05-01 23:29:19 +0000
committerarchie <archie@FreeBSD.org>2000-05-01 23:29:19 +0000
commitabe77c5239cbe13757b43c35aa32b9af5ea614a3 (patch)
tree67232cce2d5072dd6c8d278037a1f862498f6002 /sys/netgraph/ng_message.h
parentb2d827cc6bf1568555935963da10224ae1323570 (diff)
downloadFreeBSD-src-abe77c5239cbe13757b43c35aa32b9af5ea614a3.zip
FreeBSD-src-abe77c5239cbe13757b43c35aa32b9af5ea614a3.tar.gz
Use 'type_name' structure field instead of 'typename', which is
a C++ reserved work. Add a ng_copy_meta() function.
Diffstat (limited to 'sys/netgraph/ng_message.h')
-rw-r--r--sys/netgraph/ng_message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_message.h b/sys/netgraph/ng_message.h
index 036cb22..7eeb97c 100644
--- a/sys/netgraph/ng_message.h
+++ b/sys/netgraph/ng_message.h
@@ -243,7 +243,7 @@ struct namelist {
/* Structure used for NGM_LISTTYPES */
struct typeinfo {
- char typename[NG_TYPELEN + 1]; /* name of type */
+ char type_name[NG_TYPELEN + 1]; /* name of type */
u_int32_t numnodes; /* number alive */
};
OpenPOWER on IntegriCloud