summaryrefslogtreecommitdiffstats
path: root/lib/ferr.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-04-03 22:34:18 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-04-03 22:34:18 +0200
commitc17faa4b100673e4169ae585df755d6e08eebfee (patch)
treef95bcea3e588a4c92771fc9ea6bf0e6261f98689 /lib/ferr.c
parentMerge pull request #4070 from donaldsharp/static_fixup (diff)
downloadfrr-c17faa4b100673e4169ae585df755d6e08eebfee.tar.xz
frr-c17faa4b100673e4169ae585df755d6e08eebfee.zip
lib: reduce exported var symbols
Don't need these in our DSO tables Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/ferr.c')
-rw-r--r--lib/ferr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ferr.c b/lib/ferr.c
index e18597afb..d7fa1a84f 100644
--- a/lib/ferr.c
+++ b/lib/ferr.c
@@ -61,7 +61,7 @@ static void err_key_fini(void)
/*
* Global shared hash table holding reference text for all defined errors.
*/
-pthread_mutex_t refs_mtx = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t refs_mtx = PTHREAD_MUTEX_INITIALIZER;
struct hash *refs;
static bool ferr_hash_cmp(const void *a, const void *b)