summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-10-25 07:03:02 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:43 +0200
commit559c07bf35031e2d073dae3fbf8f11318953863e (patch)
treeaab07f96b51778d128223cefac74bcf9f42a072f /mark_rts.c
parent72bb12b8a9a9193c6eb792dce3f7347b0be08297 (diff)
2008-10-24 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
* alloc.c, dbg_mlc.c, dyn_load.c, finalize.c, gcj_mlc.c, include/gc.h, include/gc_config_macros.h, include/gc_cpp.h, include/gc_gcj.h, include/gc_mark.h, include/gc_typed.h, include/javaxfc.h, include/private/gc_locks.h, include/private/gc_priv.h, malloc.c, mallocx.c, mark.c, mark_rts.c, misc.c, obj_map.c, os_dep.c, pthread_support.c, ptr_chck.c, stubborn.c, tests/test.c, thread_local_alloc.c, typd_mlc.c win32_threads.c: Add GC_CALL and GC_CALLBACK macro invocations. * test.c: Remove some old K&R code.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mark_rts.c b/mark_rts.c
index ad10bb4..5bb5639 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -142,7 +142,7 @@ static void add_roots_to_index(struct roots *p)
word GC_root_size = 0;
-GC_API void GC_add_roots(void *b, void *e)
+GC_API void GC_CALL GC_add_roots(void *b, void *e)
{
DCL_LOCK_STATE;
@@ -242,7 +242,7 @@ void GC_add_roots_inner(ptr_t b, ptr_t e, GC_bool tmp)
static GC_bool roots_were_cleared = FALSE;
-GC_API void GC_clear_roots (void)
+GC_API void GC_CALL GC_clear_roots (void)
{
DCL_LOCK_STATE;
@@ -303,7 +303,7 @@ STATIC void GC_remove_tmp_roots(void)
#endif
#if !defined(MSWIN32) && !defined(MSWINCE)
-GC_API void GC_remove_roots(void *b, void *e)
+GC_API void GC_CALL GC_remove_roots(void *b, void *e)
{
DCL_LOCK_STATE;
@@ -406,7 +406,7 @@ STATIC struct exclusion * GC_next_exclusion(ptr_t start_addr)
return GC_excl_table + low;
}
-GC_API void GC_exclude_static_roots(void *start, void *finish)
+GC_API void GC_CALL GC_exclude_static_roots(void *start, void *finish)
{
struct exclusion * next;
size_t next_index, i;