summaryrefslogtreecommitdiff
path: root/gcache.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1999-02-10 09:40:46 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>1999-02-10 09:40:46 +0000
commitb37e032581c44135b480dc74ae0355e72eef1372 (patch)
tree1383321de137c199aad6982bb13e4a4f8040f358 /gcache.c
parenta8ff1b4fcef1e2c53603b30b918304f7be9f27b4 (diff)
s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added G_LOCK_EXTERN macro
1999-02-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h: s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added G_LOCK_EXTERN macro to declare a lock externally.
Diffstat (limited to 'gcache.c')
-rw-r--r--gcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcache.c b/gcache.c
index c9ed61f44..48b6111b5 100644
--- a/gcache.c
+++ b/gcache.c
@@ -61,7 +61,7 @@ static void g_cache_node_destroy (GCacheNode *node);
static GMemChunk *node_mem_chunk = NULL;
-G_LOCK_DECLARE_STATIC (node_mem_chunk);
+G_LOCK_DEFINE_STATIC (node_mem_chunk);
GCache*
g_cache_new (GCacheNewFunc value_new_func,