misc: fix issues reported by clang-15
Type: improvement Change-Id: I3fbbda0378b72843ecd39a7e8592dedc9757793a Signed-off-by: Damjan Marion <dmarion@me.com>
This commit is contained in:
@ -201,7 +201,8 @@ static __clib_unused vlib_node_registration_t __clib_unused_##x
|
||||
#endif
|
||||
|
||||
#define VLIB_NODE_FN(node) \
|
||||
uword CLIB_MARCH_SFX (node##_fn) (); \
|
||||
uword CLIB_MARCH_SFX (node##_fn) (vlib_main_t *, vlib_node_runtime_t *, \
|
||||
vlib_frame_t *); \
|
||||
static vlib_node_fn_registration_t CLIB_MARCH_SFX ( \
|
||||
node##_fn_registration) = { \
|
||||
.function = &CLIB_MARCH_SFX (node##_fn), \
|
||||
|
Reference in New Issue
Block a user