summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assoc.h1
-rw-r--r--thread.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/assoc.h b/assoc.h
index ccdf1a3..0cec6a8 100644
--- a/assoc.h
+++ b/assoc.h
@@ -15,4 +15,3 @@ bool assoc_iterate(void *iterp, item **it);
void assoc_iterate_final(void *iterp);
extern unsigned int hashpower;
-extern unsigned int item_lock_hashpower;
diff --git a/thread.c b/thread.c
index 584ad8e..3ca1da3 100644
--- a/thread.c
+++ b/thread.c
@@ -86,7 +86,7 @@ static pthread_mutex_t worker_hang_lock;
static pthread_mutex_t *item_locks;
/* size of the item lock hash table */
static uint32_t item_lock_count;
-unsigned int item_lock_hashpower;
+static unsigned int item_lock_hashpower;
#define hashsize(n) ((unsigned long int)1<<(n))
#define hashmask(n) (hashsize(n)-1)