aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-03-28 19:08:45 -0400
committerFlorin Coras <florin.coras@gmail.com>2018-03-29 08:10:53 +0000
commitcc5677b49695526c005b81bf2f0bfd320c9017f1 (patch)
treedadb6eef4083aa1658028cfe9c01e2db27571a56
parent691abf6f332a6bee6ee4a3be2b68ff5b28de75fc (diff)
No need for this routine to be global
Causes subtle misbehavior elsewhere Change-Id: I3a0ade26e8e03b8c5dc8e722f6a01fb99ec7a1e0 Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r--src/vnet/tls/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index 23ba70aa4f0..d7dcb6de8f4 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -709,7 +709,7 @@ tls_register_engine (const tls_engine_vft_t * vft, tls_engine_type_t type)
tls_vfts[type] = *vft;
}
-clib_error_t *
+static clib_error_t *
tls_init (vlib_main_t * vm)
{
vlib_thread_main_t *vtm = vlib_get_thread_main ();