aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stack.c b/core/stack.c
index d33d2fe..b5a352d 100644
--- a/core/stack.c
+++ b/core/stack.c
@@ -120,7 +120,7 @@ void backtrace_print(struct bt_entry *entries, struct bt_metadata *metadata,
* a backtrace they garble each other. To prevent this we use a seperate
* lock to serialise printing of the dumps.
*/
-struct lock bt_lock = LOCK_UNLOCKED;
+static struct lock bt_lock = LOCK_UNLOCKED;
void backtrace(void)
{