From 728309e4aeaac71555ce68ffcd3ff92952a270d3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 21:24:58 +0200 Subject: fix miscellaneous sparse warnings Static variables, pointers vs integers, void function returning, ... --- src/str_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/str_pool.c') diff --git a/src/str_pool.c b/src/str_pool.c index 74839b59d..3313b3c50 100644 --- a/src/str_pool.c +++ b/src/str_pool.c @@ -31,7 +31,7 @@ struct slot { char value[1]; } __attribute__((packed)); -struct slot *slots[NUM_SLOTS]; +static struct slot *slots[NUM_SLOTS]; static inline unsigned calc_hash(const char *p) -- cgit v1.2.3