summaryrefslogtreecommitdiff
path: root/stubborn.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-10-25 05:03:02 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:43 +0400
commit559c07bf35031e2d073dae3fbf8f11318953863e (patch)
treeaab07f96b51778d128223cefac74bcf9f42a072f /stubborn.c
parent72bb12b8a9a9193c6eb792dce3f7347b0be08297 (diff)
downloadbdwgc-559c07bf35031e2d073dae3fbf8f11318953863e.tar.gz
2008-10-24 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
* alloc.c, dbg_mlc.c, dyn_load.c, finalize.c, gcj_mlc.c, include/gc.h, include/gc_config_macros.h, include/gc_cpp.h, include/gc_gcj.h, include/gc_mark.h, include/gc_typed.h, include/javaxfc.h, include/private/gc_locks.h, include/private/gc_priv.h, malloc.c, mallocx.c, mark.c, mark_rts.c, misc.c, obj_map.c, os_dep.c, pthread_support.c, ptr_chck.c, stubborn.c, tests/test.c, thread_local_alloc.c, typd_mlc.c win32_threads.c: Add GC_CALL and GC_CALLBACK macro invocations. * test.c: Remove some old K&R code.
Diffstat (limited to 'stubborn.c')
-rw-r--r--stubborn.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/stubborn.c b/stubborn.c
index e3f664c7..e5d08e20 100644
--- a/stubborn.c
+++ b/stubborn.c
@@ -22,35 +22,35 @@
/* MANUAL_VDB. But that imposes the additional constraint that */
/* written, but not yet GC_dirty()ed objects must be referenced */
/* by a stack. */
-GC_API void * GC_malloc_stubborn(size_t lb)
+GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
{
return(GC_malloc(lb));
}
-GC_API void GC_end_stubborn_change(void *p)
+GC_API void GC_CALL GC_end_stubborn_change(void *p)
{
GC_dirty(p);
}
/*ARGSUSED*/
-GC_API void GC_change_stubborn(void *p)
+GC_API void GC_CALL GC_change_stubborn(void *p)
{
}
#else /* !MANUAL_VDB */
-GC_API void * GC_malloc_stubborn(size_t lb)
+GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
{
return(GC_malloc(lb));
}
/*ARGSUSED*/
-GC_API void GC_end_stubborn_change(void *p)
+GC_API void GC_CALL GC_end_stubborn_change(void *p)
{
}
/*ARGSUSED*/
-GC_API void GC_change_stubborn(void *p)
+GC_API void GC_CALL GC_change_stubborn(void *p)
{
}