summaryrefslogtreecommitdiff
path: root/glib/gdate.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 /glib/gdate.c
parenta8ff1b4fcef1e2c53603b30b918304f7be9f27b4 (diff)
downloadglib-b37e032581c44135b480dc74ae0355e72eef1372.tar.gz
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 'glib/gdate.c')
-rw-r--r--glib/gdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gdate.c b/glib/gdate.c
index c3b7b3186..5df9787e6 100644
--- a/glib/gdate.c
+++ b/glib/gdate.c
@@ -392,7 +392,7 @@ g_date_clear (GDate *d, guint ndates)
memset (d, 0x0, ndates*sizeof (GDate));
}
-G_LOCK_DECLARE_STATIC (g_date_global);
+G_LOCK_DEFINE_STATIC (g_date_global);
/* These are for the parser, output to the user should use *
* g_date_strftime () - this creates more never-freed memory to annoy