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/plugins/vmxnet3/vmxnet3.api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/vmxnet3/vmxnet3.api') diff --git a/src/plugins/vmxnet3/vmxnet3.api b/src/plugins/vmxnet3/vmxnet3.api index 7408836af7b..8c3597bd6a0 100644 --- a/src/plugins/vmxnet3/vmxnet3.api +++ b/src/plugins/vmxnet3/vmxnet3.api @@ -80,7 +80,7 @@ autoreply define vmxnet3_delete @param tx_consume - tx consume index */ -typeonly define vmxnet3_tx_list +typedef vmxnet3_tx_list { u16 tx_qsize; u16 tx_next; @@ -96,7 +96,7 @@ typeonly define vmxnet3_tx_list @param rx_consume - rx consume index */ -typeonly define vmxnet3_rx_list +typedef vmxnet3_rx_list { u16 rx_qsize; u16 rx_fill[2]; -- cgit 1.2.3-korg