From a52e1524b276acf0f918e5623aaef4b769ff6637 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Wed, 28 Feb 2018 13:24:06 +0200 Subject: dlfcn: Static pthread initializer --- src/linker/dlfcn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linker') diff --git a/src/linker/dlfcn.c b/src/linker/dlfcn.c index 5fb6899..38fc215 100644 --- a/src/linker/dlfcn.c +++ b/src/linker/dlfcn.c @@ -53,7 +53,7 @@ static const char *dl_errors[] = { #define likely(expr) __builtin_expect (expr, 1) #define unlikely(expr) __builtin_expect (expr, 0) -pthread_mutex_t apkenv_dl_lock = PTHREAD_MUTEX_INITIALIZER; +static pthread_mutex_t apkenv_dl_lock = PTHREAD_MUTEX_INITIALIZER; static void set_dlerror(int err) { -- cgit v1.2.3-70-g09d2