summaryrefslogtreecommitdiff
path: root/gthread/gthread-solaris.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1998-12-15 17:49:30 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>1998-12-15 17:49:30 +0000
commit2c30e8620fe66dedf35ee294bcd70051bde8685f (patch)
treee5404d5638682f38200be9fa956d6d433c83d65b /gthread/gthread-solaris.c
parent961205a0256851651f1938739864015a50978721 (diff)
updated.
1998-12-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * Makefile.am (EXTRA_DIST): updated. * testgthread.c, gthread-*.c: Changed private to private_key to avoid problems when compiling with under C++.
Diffstat (limited to 'gthread/gthread-solaris.c')
-rw-r--r--gthread/gthread-solaris.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gthread/gthread-solaris.c b/gthread/gthread-solaris.c
index 52d4c5552..df4c99f6b 100644
--- a/gthread/gthread-solaris.c
+++ b/gthread/gthread-solaris.c
@@ -137,23 +137,23 @@ g_private_new_solaris_impl (GDestroyNotify destructor)
functions from gmem.c and gmessages.c */
static void
-g_private_set_solaris_impl (GPrivate * private, gpointer value)
+g_private_set_solaris_impl (GPrivate * private_key, gpointer value)
{
- if (!private)
+ if (!private_key)
return;
- thr_setspecific (*(thread_key_t *) private, value);
+ thr_setspecific (*(thread_key_t *) private_key, value);
}
static gpointer
-g_private_get_solaris_impl (GPrivate * private)
+g_private_get_solaris_impl (GPrivate * private_key)
{
gpointer result;
- if (!private)
+ if (!private_key)
return NULL;
- thr_getspecific (*(thread_key_t *) private, &result);
+ thr_getspecific (*(thread_key_t *) private_key, &result);
return result;
}