From e71748291171e53158e2d36d8f413fed1a137013 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Wed, 7 Aug 2019 00:05:59 -0400 Subject: vppapigen: remove support for legacy typedefs vppapigen has remapped legacy to typedefs behind the scenes for some time now. - update .api files to use new style typedefs. - issue error on 'typeonly define' in .api files - remove unneeded macros redefining vl_noop_handler Type: refactor Change-Id: I7a8c4a6dafacee6a131f95cd0e9b03a8c60dea8b Signed-off-by: Paul Vinciguerra --- src/vnet/l2/l2.api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/l2/l2.api') diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api index 4b1029d90f8..b0031ba16cc 100644 --- a/src/vnet/l2/l2.api +++ b/src/vnet/l2/l2.api @@ -165,7 +165,7 @@ autoreply define want_l2_macs_events 3 => MAC move (sw_if_index changed) @param flags - flag bits to provide other info, not yet used */ -typeonly define mac_entry +typedef mac_entry { u32 sw_if_index; u8 mac_addr[6]; @@ -284,7 +284,7 @@ define bridge_domain_dump @param sw_if_index - sw_if_index in the domain @param shg - split horizon group for the interface */ -typeonly manual_print manual_endian define bridge_domain_sw_if +typedef bridge_domain_sw_if { u32 context; u32 sw_if_index; -- cgit 1.2.3-korg