From c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Aug 2012 21:01:25 +0200 Subject: tag_pool: use GStaticMutex Eliminates explicit global initialisation. --- src/tag_pool.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/tag_pool.h') 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 -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); -- cgit v1.2.3