summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-26 17:43:34 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:48 +0200
commitcbdc6415cc8a2eb3de850771a45afaeddd283233 (patch)
tree173f7c74768c87d83668a305f8fd5a086b932521 /mark_rts.c
parent3a9f172a4621dc6ad106ffe7d578b55a14531840 (diff)
2009-09-26 Ivan Maidanski <ivmai@mail.ru>
* allchblk.c (GC_enough_large_bytes_left): Replace "inline static" with GC_INLINE. * include/private/gc_priv.h (fixed_getenv): Ditto. * alloc.c (GC_max, GC_min): Replace "static INLINE" with GC_INLINE. * mark_rts.c (rt_hash): Ditto. * win32_threads.c (GC_get_max_thread_index): Ditto. * include/private/gc_priv.h (INLINE): Prefix with "GC_"; include "static"; define for Sun CC; define for VC++ (and other compilers). * pthread_support.c: Don't define __inline__ for non-GNU compilers (not needed anymore).
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 99ee278..d696bb4 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -92,7 +92,7 @@ GC_bool GC_is_static_root(ptr_t p)
-- really defined in gc_priv.h
*/
-static INLINE int rt_hash(ptr_t addr)
+GC_INLINE int rt_hash(ptr_t addr)
{
word result = (word) addr;
# if CPP_WORDSZ > 8*LOG_RT_SIZE