summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-03-24 11:24:27 +0100
committerIvan Maidanski <ivmai@mail.ru>2012-03-25 09:45:40 +0200
commited1819f7b78f5ebfe84f7bc82e33c345b1b773e3 (patch)
tree4577c8a7de371b0296458642a6728514386d9ce0 /misc.c
parentc1d271b8c1ea4dce12ecdf3ff0caece68be0ddf8 (diff)
Fix GC_clear_stack declaration and make it public
(Includes reverting part of commit b2345fb) * include/gc_mark.h (GC_clear_stack): New API function. * include/private/gc_priv.h (GC_clear_stack): Remove declaration. * misc.c (GC_clear_stack): Replace GC_INNER with GC_API; add GC_CALL calling conventions modifier.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 63b9d47..9d54567 100644
--- a/misc.c
+++ b/misc.c
@@ -275,7 +275,7 @@ GC_INNER void GC_extend_size_map(size_t i)
/* Clear some of the inaccessible part of the stack. Returns its */
/* argument, so it can be used in a tail call position, hence clearing */
/* another frame. */
-GC_INNER void * GC_clear_stack(void *arg)
+GC_API void * GC_CALL GC_clear_stack(void *arg)
{
ptr_t sp = GC_approx_sp(); /* Hotter than actual sp */
# ifdef THREADS