summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-01 23:13:37 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:49 +0200
commit72afdc7d797d58f34c808235555d3e32b14cbad4 (patch)
treed2b2de9a048d21cd25e0434b4b839075e4a8fceb /mark_rts.c
parent329303eed766f3a29505142681bf3c9bfc6c7d2d (diff)
2009-10-01 Ivan Maidanski <ivmai@mail.ru> (really mostly Andreas Tobler)
* allchblk.c (GC_fail_count, GC_large_alloc_warn_interval): Add "extern" keyword to a global variable declaration (some compilers require it). * alloc.c (GC_bytes_found, GC_unmap_threshold, GC_force_unmap_on_gcollect): Ditto. * dyn_load.c (GC_no_win32_dlls, GC_wnt): Ditto. * finalize.c (GC_fail_count): Ditto. * include/private/gc_hdrs.h (GC_hdr_cache_hits, GC_hdr_cache_misses): Ditto. * mallocx.c (GC_bytes_found): Ditto. * mark_rts.c (GC_save_regs_ret_val, GC_world_stopped): Ditto. * misc.c (GC_unmap_threshold): Ditto. * os_dep.c (GC_unmap_threshold, GC_old_allocator): Ditto. * pthread_support.c (GC_markers): Ditto. * thread_local_alloc.c (GC_gcjobjfreelist, GC_gcj_malloc_initialized, GC_gcj_kind): Ditto. * win32_threads.c (GC_fault_handler_lock, GC_write_cs, GC_dont_query_stack_min, GC_markers, GC_wnt): Ditto.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mark_rts.c b/mark_rts.c
index b0944d6..0dd25ad 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -607,7 +607,7 @@ STATIC void GC_push_all_stack_part_eager_frames(ptr_t lo, ptr_t hi,
}
# ifdef IA64
- ptr_t GC_save_regs_ret_val; /* defined in mach_dep.c. */
+ extern ptr_t GC_save_regs_ret_val; /* defined in mach_dep.c. */
/* Previously set to backing store pointer. */
# endif
@@ -716,7 +716,7 @@ STATIC void GC_push_regs_and_stack(ptr_t cold_gc_frame)
}
#ifdef THREAD_LOCAL_ALLOC
- GC_bool GC_world_stopped; /* defined in alloc.c */
+ extern GC_bool GC_world_stopped; /* defined in alloc.c */
#endif
/*