From: Ivan Maidanski Date: Mon, 15 Jul 2013 11:48:44 +0000 (+0400) Subject: Mark GC_started_thread_while_stopped() as GC_INNER X-Git-Tag: gc7_4_0~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84c483185f85bc574eeea2ae316d25062a02d296;p=platform%2Fupstream%2Flibgc.git Mark GC_started_thread_while_stopped() as GC_INNER * mark.c (GC_started_thread_while_stopped): Declare as GC_INNER (declared only if GC_WIN32_THREADS). * win32_threads.c (GC_started_thread_while_stopped): Define as GC_INNER. --- diff --git a/mark.c b/mark.c index 4f1ffb7..41de14c 100644 --- a/mark.c +++ b/mark.c @@ -477,7 +477,7 @@ static void alloc_mark_stack(size_t); # endif /* __GNUC__ && MSWIN32 */ #if defined(GC_WIN32_THREADS) && !defined(__GNUC__) - GC_bool GC_started_thread_while_stopped(void); + GC_INNER GC_bool GC_started_thread_while_stopped(void); /* In win32_threads.c. Did we invalidate mark phase with an */ /* unexpected thread start? */ #endif diff --git a/win32_threads.c b/win32_threads.c index 0431e7e..32e42ce 100644 --- a/win32_threads.c +++ b/win32_threads.c @@ -278,7 +278,7 @@ typedef volatile struct GC_Thread_Rep * GC_vthread; #if !defined(__GNUC__) /* Return TRUE if an thread was attached since we last asked or */ /* since GC_attached_thread was explicitly reset. */ - GC_bool GC_started_thread_while_stopped(void) + GC_INNER GC_bool GC_started_thread_while_stopped(void) { # ifndef GC_NO_THREADS_DISCOVERY if (GC_win32_dll_threads) {