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++.
This commit is contained in:
Sebastian Wilhelmi
1998-12-15 17:49:30 +00:00
committed by Sebastian Wilhelmi
parent 961205a025
commit 2c30e8620f
6 changed files with 48 additions and 40 deletions

View File

@@ -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;
}