summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2013-07-15 13:48:44 +0200
committerIvan Maidanski <ivmai@mail.ru>2013-07-15 13:48:44 +0200
commit84c483185f85bc574eeea2ae316d25062a02d296 (patch)
tree98b4b4244e0f81af75c82f3ded78aba4c165b2c7
parentc3b49f5a6764f82e34c0d2fbc4462d92b865dc75 (diff)
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.
-rw-r--r--mark.c2
-rw-r--r--win32_threads.c2
2 files changed, 2 insertions, 2 deletions
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) {