diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-04-03 20:34:18 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-04-03 20:34:18 +0000 |
| commit | c17faa4b100673e4169ae585df755d6e08eebfee (patch) | |
| tree | f95bcea3e588a4c92771fc9ea6bf0e6261f98689 /lib/thread.c | |
| parent | c5dafdbf5c9320956b453701b5145faf6ede7506 (diff) | |
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/thread.c')
| -rw-r--r-- | lib/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c index 19ab409439..4bd61b78c8 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -52,10 +52,10 @@ DEFINE_MTYPE_STATIC(LIB, THREAD_STATS, "Thread stats") } while (0); /* control variable for initializer */ -pthread_once_t init_once = PTHREAD_ONCE_INIT; +static pthread_once_t init_once = PTHREAD_ONCE_INIT; pthread_key_t thread_current; -pthread_mutex_t masters_mtx = PTHREAD_MUTEX_INITIALIZER; +static pthread_mutex_t masters_mtx = PTHREAD_MUTEX_INITIALIZER; static struct list *masters; static void thread_free(struct thread_master *master, struct thread *thread); |
