aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/memdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memdb.c b/src/memdb.c
index 4560d6ed6..965ec36d4 100644
--- a/src/memdb.c
+++ b/src/memdb.c
@@ -89,12 +89,12 @@ struct MemFile {
};
/*
-** Global variables for holding the memdb files that are accessible
+** File-scope variables for holding the memdb files that are accessible
** to multiple database connections in separate threads.
**
** Must hold SQLITE_MUTEX_STATIC_VFS1 to access any part of this object.
*/
-struct MemFS {
+static struct MemFS {
int nMemStore; /* Number of shared MemStore objects */
MemStore **apMemStore; /* Array of all shared MemStore objects */
} memdb_g;