diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-08-07 00:05:59 -0400 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-08-20 13:35:21 +0000 |
commit | e71748291171e53158e2d36d8f413fed1a137013 (patch) | |
tree | 2cd4c20efd3fd75e3e180ae39fd2ab400c406d75 /src/vpp | |
parent | 630ab5846bceddf8d663e9f488a2dc0378949827 (diff) |
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 <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/vpe.api | 2 | ||||
-rw-r--r-- | src/vpp/api/vpe_types.api | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp/api/vpe.api b/src/vpp/api/vpe.api index 9531ea5643d..f03507ded4f 100644 --- a/src/vpp/api/vpe.api +++ b/src/vpp/api/vpe.api @@ -213,7 +213,7 @@ define show_threads @param core - thread pinned to actual physical core. @param cpu_socket - thread is running on which cpu socket. */ -typeonly define thread_data +typedef thread_data { u32 id; u8 name[64]; diff --git a/src/vpp/api/vpe_types.api b/src/vpp/api/vpe_types.api index 7bd4b29e846..3b49a19e8f0 100644 --- a/src/vpp/api/vpe_types.api +++ b/src/vpp/api/vpe_types.api @@ -14,7 +14,7 @@ * limitations under the License. */ -typeonly define version +typedef version { u32 major; u32 minor; |