From b1d840c20a27dd756bd7bd5877631cb8acae1c62 Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Wed, 3 Jan 2001 17:00:43 +0000 Subject: [PATCH] Made g_thread_min_stack_size static. 2001-01-03 Sebastian Wilhelmi * gthread-solaris.c, gthread-posix.c: Made g_thread_min_stack_size static. 2CVS: ---------------------------------------------------------------------- --- gthread/ChangeLog | 5 +++++ gthread/gthread-posix.c | 2 +- gthread/gthread-solaris.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 0d33faec5..8288d8086 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,8 @@ +2001-01-03 Sebastian Wilhelmi + + * gthread-solaris.c, gthread-posix.c: Made g_thread_min_stack_size + static. + 2000-11-28 Sebastian Wilhelmi * gthread-impl.c: Revamped errorcheck mutexes and added errorcheck diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c index 95bad4919..fd3d7585d 100644 --- a/gthread/gthread-posix.c +++ b/gthread/gthread-posix.c @@ -115,7 +115,7 @@ static gboolean posix_check_cmd_prio_warned = FALSE; # define PRIORITY_URGENT_VALUE POSIX_MAX_PRIORITY #endif /* POSIX_MIN_PRIORITY && POSIX_MAX_PRIORITY */ -gulong g_thread_min_stack_size = 0; +static gulong g_thread_min_stack_size = 0; #define G_MUTEX_SIZE (sizeof (pthread_mutex_t)) diff --git a/gthread/gthread-solaris.c b/gthread/gthread-solaris.c index cee0643eb..7eb7b8a36 100644 --- a/gthread/gthread-solaris.c +++ b/gthread/gthread-solaris.c @@ -49,7 +49,7 @@ if( error ) { solaris_print_error( what, error ); } \ }G_STMT_END -gulong g_thread_min_stack_size = 0; +static gulong g_thread_min_stack_size = 0; #define G_MUTEX_SIZE (sizeof (mutex_t))