aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag_pool.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-08 21:01:25 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 21:01:25 +0200
commitc1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff (patch)
treea1eb2e93ff43309ee30fd77ec57db6d10d8fd612 /src/tag_pool.h
parent510097cc37ffe88ddd1bf0587add83654777ded1 (diff)
downloadmpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.tar.gz
mpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.tar.xz
mpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.zip
tag_pool: use GStaticMutex
Eliminates explicit global initialisation.
Diffstat (limited to '')
-rw-r--r--src/tag_pool.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tag_pool.h b/src/tag_pool.h
index a96c00d85..a717f704d 100644
--- a/src/tag_pool.h
+++ b/src/tag_pool.h
@@ -24,14 +24,10 @@
#include <glib.h>
-extern GMutex *tag_pool_lock;
+extern GStaticMutex tag_pool_lock;
struct tag_item;
-void tag_pool_init(void);
-
-void tag_pool_deinit(void);
-
struct tag_item *
tag_pool_get_item(enum tag_type type, const char *value, size_t length);