summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/private/gc_priv.h5
-rw-r--r--mark_rts.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h
index 0149e0ee..f017e00b 100644
--- a/include/private/gc_priv.h
+++ b/include/private/gc_priv.h
@@ -2149,7 +2149,12 @@ GC_INNER void GC_set_fl_marks(ptr_t p);
/* associated with a free list are */
/* set. Abort if not. */
#endif
+
+#ifndef AMIGA
+ GC_INNER
+#endif
void GC_add_roots_inner(ptr_t b, ptr_t e, GC_bool tmp);
+
#ifdef USE_PROC_FOR_LIBRARIES
GC_INNER void GC_remove_roots_subregion(ptr_t b, ptr_t e);
#endif
diff --git a/mark_rts.c b/mark_rts.c
index 51322cc4..b2f82760 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -161,6 +161,9 @@ GC_API void GC_CALL GC_add_roots(void *b, void *e)
/* them correctly.) */
/* Tmp specifies that the interval may be deleted before */
/* re-registering dynamic libraries. */
+#ifndef AMIGA
+ GC_INNER
+#endif
void GC_add_roots_inner(ptr_t b, ptr_t e, GC_bool tmp)
{
GC_ASSERT(I_HOLD_LOCK());