From abe77c5239cbe13757b43c35aa32b9af5ea614a3 Mon Sep 17 00:00:00 2001 From: archie Date: Mon, 1 May 2000 23:29:19 +0000 Subject: Use 'type_name' structure field instead of 'typename', which is a C++ reserved work. Add a ng_copy_meta() function. --- sys/netgraph/ng_message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph/ng_message.h') 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 */ }; -- cgit v1.1