path: root/include
diff options
authorIvan Maidanski <>2012-06-02 09:13:19 +0200
committerIvan Maidanski <>2012-06-02 09:13:19 +0200
commit5563e13d2b1b5c063bdabe720303d8068a07dcae (patch)
treedb06eabb8353a54bdbb53e9f89b3416dfeb7c14d /include
parentf055ed20942e8ab3a9d101d6d77470d54ae968a0 (diff)
Fix visibility of GC_clear/set_mark_bit (unhide symbols)
* include/private/gc_priv.h (GC_clear_mark_bit, GC_set_mark_bit): Declare as GC_API_PRIV (instead of GC_INNER) to make the symbol externally visible to 3rd-party software (e.g., ECL). * mark.c (GC_set_mark_bit, GC_clear_mark_bit): Remove GC_INNER (to match the declaration).
Diffstat (limited to 'include')
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h
index 8eefb70..5afa916 100644
--- a/include/private/gc_priv.h
+++ b/include/private/gc_priv.h
@@ -1905,8 +1905,8 @@ GC_EXTERN GC_bool GC_print_back_height;
/* Slow/general mark bit manipulation: */
GC_API_PRIV GC_bool GC_is_marked(ptr_t p);
-GC_INNER void GC_clear_mark_bit(ptr_t p);
-GC_INNER void GC_set_mark_bit(ptr_t p);
+GC_API_PRIV void GC_clear_mark_bit(ptr_t p);
+GC_API_PRIV void GC_set_mark_bit(ptr_t p);
/* Stubborn objects: */
void GC_read_changed(void); /* Analogous to GC_read_dirty */