diff options
author | Ole Troan <ot@cisco.com> | 2017-12-06 17:00:05 +0100 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2017-12-06 17:49:48 +0100 |
commit | 3288ed7234ad9b6d59d249f48dd1a2d06168bfd5 (patch) | |
tree | 96d5200d8c7a0630ce127ff7387c2292342acc26 /src/vpp/stats | |
parent | bf4be5730557c4280f2f9f8b7ef1a194716c82bd (diff) |
UT: Repaired broken C unit tests (--enable-tests)
Change-Id: I63d720378b92813993525f80fee90fc79df27fba
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vpp/stats')
-rw-r--r-- | src/vpp/stats/stats.c | 4 | ||||
-rw-r--r-- | src/vpp/stats/stats.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/vpp/stats/stats.c b/src/vpp/stats/stats.c index ac364e88efd..6c6809e3b60 100644 --- a/src/vpp/stats/stats.c +++ b/src/vpp/stats/stats.c @@ -189,7 +189,7 @@ format_vnet_interface_simple_counters (u8 * s, va_list * args) return s; } -void +static void dslock (stats_main_t * sm, int release_hint, int tag) { u32 thread_index; @@ -222,7 +222,7 @@ stats_dslock_with_hint (int hint, int tag) dslock (sm, hint, tag); } -void +static void dsunlock (stats_main_t * sm) { u32 thread_index; diff --git a/src/vpp/stats/stats.h b/src/vpp/stats/stats.h index 452e3052a10..4343da3b040 100644 --- a/src/vpp/stats/stats.h +++ b/src/vpp/stats/stats.h @@ -186,9 +186,6 @@ typedef struct extern stats_main_t stats_main; -void dslock (stats_main_t * sm, int release_hint, int tag); -void dsunlock (stats_main_t * sm); - #endif /* __included_stats_h__ */ /* |