diff options
Diffstat (limited to 'glib/gdataset.c')
-rw-r--r-- | glib/gdataset.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/glib/gdataset.c b/glib/gdataset.c index 8aadb9626..b35c91143 100644 --- a/glib/gdataset.c +++ b/glib/gdataset.c @@ -19,6 +19,13 @@ * Foundation, Inc., 59 Temple Place, Suite 330, 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 ; FIXME: might still freeze, watch out, not thoroughly * looked at yet. @@ -67,7 +74,7 @@ static inline GQuark g_quark_new (gchar *string); /* --- variables --- */ -G_LOCK_DECLARE_STATIC (g_dataset_global); +G_LOCK_DEFINE_STATIC (g_dataset_global); static GHashTable *g_dataset_location_ht = NULL; static GDataset *g_dataset_cached = NULL; /* should this be threadspecific? */ @@ -76,7 +83,7 @@ static GMemChunk *g_data_mem_chunk = NULL; static GData *g_data_cache = NULL; static guint g_data_cache_length = 0; -G_LOCK_DECLARE_STATIC (g_quark_global); +G_LOCK_DEFINE_STATIC (g_quark_global); static GHashTable *g_quark_ht = NULL; static gchar **g_quarks = NULL; static GQuark g_quark_seq_id = 0; |