summaryrefslogtreecommitdiffstats
path: root/src/cache.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2008-09-10 23:54:42 +0300
committerLennart Poettering <lennart@poettering.net>2008-09-11 00:36:15 +0300
commitee483d8c570a63d47e34e17c4c21afa8e84b14df (patch)
tree2842fca0520894e046cc340caacf6560da96e747 /src/cache.c
parent33a103a1d28e466cce27837b0eab2682315ecb99 (diff)
Make tdb_context database static
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index cb19dc3..51a5479 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -46,7 +46,7 @@
* when we port this to platforms that do not have POSIX threading */
static ca_mutex *mutex = NULL;
-struct tdb_context *database = NULL;
+static struct tdb_context *database = NULL;
static void allocate_mutex_once(void) {
mutex = ca_mutex_new();