summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linker/dlfcn.c2
1 files changed, 1 insertions, 1 deletions
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)
{