summaryrefslogtreecommitdiff
path: root/blacklst.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-03-25 10:32:05 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-03-25 11:39:15 +0400
commit6ea06d38372bb2958aadab0e5847821b4d573815 (patch)
treedf239ba0fe1fa61883b3681e502934f76fbd645b /blacklst.c
parentb21ee7b9fec6cc6288930e751c6a068d537b3d1b (diff)
downloadbdwgc-6ea06d38372bb2958aadab0e5847821b4d573815.tar.gz
Fix visibility of some GC internal symbols used by GCJ
(Includes reverting part of commits 68b9f27, 91d5df5, b2345fb) * allchblk.c (GC_hblkfreelist, GC_free_bytes): Do not define array as STATIC again but only if GC_GCJ_SUPPORT (for GNU GCJ client). * blacklst.c (GC_is_black_listed): Do not define as GC_INNER again (for GNU GCJ client). * include/private/gc_priv.h (GC_is_black_listed): Likewise. * include/private/gc_priv.h (GC_hblkfreelist): Restore removed declaration (but only if GC_GCJ_SUPPORT). * reclaim.c (GC_n_set_marks): Do not define as STATIC again (for GCJ); update the comment.
Diffstat (limited to 'blacklst.c')
-rw-r--r--blacklst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blacklst.c b/blacklst.c
index 626a95fd..0213176f 100644
--- a/blacklst.c
+++ b/blacklst.c
@@ -225,7 +225,7 @@ GC_INNER void GC_unpromote_black_lists(void)
* If (h,len) is not black listed, return 0.
* Knows about the structure of the black list hash tables.
*/
-GC_INNER struct hblk * GC_is_black_listed(struct hblk *h, word len)
+struct hblk * GC_is_black_listed(struct hblk *h, word len)
{
word index = PHT_HASH((word)h);
word i;