summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-04-12 07:58:27 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-04-12 10:58:47 +0300
commit76795d27d5679105f5dccbbdb58b334299e6c8cd (patch)
tree029669c44700f0ebe7b6aa82cfcf4a7f204bbe99 /include
parent4f1f9afa07b963904457aebaec3b4438b99c36c9 (diff)
downloadbdwgc-76795d27d5679105f5dccbbdb58b334299e6c8cd.tar.gz
Mark GC_add_roots_inner() as GC_INNER
(refactoring) * include/private/gc_priv.h [!AMIGA] (GC_add_roots_inner): Declare as GC_INNER. * mark_rts.c [!AMIGA] (GC_add_roots_inner): Define as GC_INNER.
Diffstat (limited to 'include')
-rw-r--r--include/private/gc_priv.h5
1 files changed, 5 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