aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/stats/stats.c
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2017-12-06 17:00:05 +0100
committerOle Troan <ot@cisco.com>2017-12-06 17:49:48 +0100
commit3288ed7234ad9b6d59d249f48dd1a2d06168bfd5 (patch)
tree96d5200d8c7a0630ce127ff7387c2292342acc26 /src/vpp/stats/stats.c
parentbf4be5730557c4280f2f9f8b7ef1a194716c82bd (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/stats.c')
-rw-r--r--src/vpp/stats/stats.c4
1 files changed, 2 insertions, 2 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;