summaryrefslogtreecommitdiffstats
path: root/lib/hash.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/hash.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/hash.c')
-rw-r--r--lib/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c
index c02b81814..884c8f22a 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -33,7 +33,7 @@ DEFINE_MTYPE(LIB, HASH, "Hash")
DEFINE_MTYPE(LIB, HASH_BACKET, "Hash Bucket")
DEFINE_MTYPE_STATIC(LIB, HASH_INDEX, "Hash Index")
-pthread_mutex_t _hashes_mtx = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t _hashes_mtx = PTHREAD_MUTEX_INITIALIZER;
static struct list *_hashes;
struct hash *hash_create_size(unsigned int size,