summaryrefslogtreecommitdiff
path: root/glib/gcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gcache.c')
-rw-r--r--glib/gcache.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/glib/gcache.c b/glib/gcache.c
index c9ed61f44..145a09316 100644
--- a/glib/gcache.c
+++ b/glib/gcache.c
@@ -17,6 +17,13 @@
* Boston, MA 02111-1307, USA.
*/
+/*
+ * Modified by the GLib Team and others 1997-1999. See the AUTHORS
+ * file for a list of people on the GLib Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GLib at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
/*
* MT safe
*/
@@ -61,7 +68,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,