diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 21:24:58 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 21:24:58 +0200 |
commit | 728309e4aeaac71555ce68ffcd3ff92952a270d3 (patch) | |
tree | 153958aba3285a32871dbb7138be222db3f8d334 /src/str_pool.c | |
parent | f825f27654988e107272c3a408ac5934f7731e34 (diff) | |
download | mpd-728309e4aeaac71555ce68ffcd3ff92952a270d3.tar.gz mpd-728309e4aeaac71555ce68ffcd3ff92952a270d3.tar.xz mpd-728309e4aeaac71555ce68ffcd3ff92952a270d3.zip |
fix miscellaneous sparse warnings
Static variables, pointers vs integers, void function returning, ...
Diffstat (limited to '')
-rw-r--r-- | src/str_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |