diff options
author | Damjan Marion <dmarion@me.com> | 2022-10-12 16:02:18 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-10-12 16:04:13 +0200 |
commit | dd298e804a25dbebc9e284b3b2d0dfd9bf674ad8 (patch) | |
tree | cd91568dc9f1947c04d97eb95e15ae06d5d0ec06 /src/vnet/interface.h | |
parent | 0f8f4351b03f9350a406ad1d63f97d1f4b59fec2 (diff) |
misc: fix issues reported by clang-15
Type: improvement
Change-Id: I3fbbda0378b72843ecd39a7e8592dedc9757793a
Signed-off-by: Damjan Marion <dmarion@me.com>
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r-- | src/vnet/interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h index c8fbc61ec7b..8ba5c996e0d 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -320,7 +320,8 @@ static __clib_unused vnet_device_class_t __clib_unused_##x #endif #define VNET_DEVICE_CLASS_TX_FN(devclass) \ - uword CLIB_MARCH_SFX (devclass##_tx_fn) (); \ + uword CLIB_MARCH_SFX (devclass##_tx_fn) ( \ + vlib_main_t *, vlib_node_runtime_t *, vlib_frame_t *); \ static vlib_node_fn_registration_t CLIB_MARCH_SFX ( \ devclass##_tx_fn_registration) = { \ .function = &CLIB_MARCH_SFX (devclass##_tx_fn), \ |