summaryrefslogtreecommitdiffstats
path: root/src/vat/vat.h
diff options
context:
space:
mode:
authorDamjan Marion <dmarion@me.com>2022-10-12 16:02:18 +0200
committerDamjan Marion <dmarion@me.com>2022-10-12 16:04:13 +0200
commitdd298e804a25dbebc9e284b3b2d0dfd9bf674ad8 (patch)
treecd91568dc9f1947c04d97eb95e15ae06d5d0ec06 /src/vat/vat.h
parent0f8f4351b03f9350a406ad1d63f97d1f4b59fec2 (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/vat/vat.h')
-rw-r--r--src/vat/vat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vat/vat.h b/src/vat/vat.h
index 10199e3e9e6..d8045752b35 100644
--- a/src/vat/vat.h
+++ b/src/vat/vat.h
@@ -131,7 +131,7 @@ typedef struct
struct vat_registered_features_t;
-typedef struct
+typedef struct vat_main_
{
/* vpe input queue */
svm_queue_t *vl_input_queue;
@@ -234,7 +234,7 @@ typedef struct
struct vat_registered_features_t *feature_function_registrations;
- int (*api_sw_interface_dump) ();
+ int (*api_sw_interface_dump) (struct vat_main_ *);
/* Convenience */
vlib_main_t *vlib_main;