summaryrefslogtreecommitdiff
path: root/src/hashmap.c
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2012-02-29 14:42:49 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-05 15:07:14 +0100
commit6a39419fe4e4ab7beb2412b6a52b5fd513509452 (patch)
tree11943a797fb6969ddc76102ae12d095f2b878060 /src/hashmap.c
parent7be3aa1732f76245b58f8cdfe74707f8f7f67d18 (diff)
fix sparse warnings
Diffstat (limited to 'src/hashmap.c')
-rw-r--r--src/hashmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashmap.c b/src/hashmap.c
index 7ef809746d..6928118615 100644
--- a/src/hashmap.c
+++ b/src/hashmap.c
@@ -55,10 +55,10 @@ struct pool {
unsigned n_used;
};
-struct pool *first_hashmap_pool = NULL;
+static struct pool *first_hashmap_pool = NULL;
static void *first_hashmap_tile = NULL;
-struct pool *first_entry_pool = NULL;
+static struct pool *first_entry_pool = NULL;
static void *first_entry_tile = NULL;
static void* allocate_tile(struct pool **first_pool, void **first_tile, size_t tile_size) {