summaryrefslogtreecommitdiff
path: root/stubborn.c
diff options
context:
space:
mode:
authorivmai <ivmai>2011-05-23 15:18:04 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:59 +0400
commitd53b6dfbbb335dba60ef960e7e3abee10dcd9ed9 (patch)
tree9c96f158dcb673ad3b72b8731ccab7edbc8709c3 /stubborn.c
parentdff8113c399acf10ffc677a64cda68ffde2b9253 (diff)
downloadbdwgc-d53b6dfbbb335dba60ef960e7e3abee10dcd9ed9.tar.gz
2011-05-23 Ivan Maidanski <ivmai@mail.ru>
* mark.c (GC_dirty): Add prototype (only if MANUAL_VDB). * stubborn.c (GC_dirty): Ditto. * include/private/gcconfig.h (GWW_VDB, MPROTECT_VDB, PCR_VDB, PROC_VDB): Undefine if MANUAL_VDB. * include/private/gcconfig.h (DEFAULT_VDB): Don't define if MANUAL_VDB. * os_dep.c (async_set_pht_entry_from_index): Define for MANUAL_VDB. * os_dep.c (GC_read_dirty): Set GC_dirty_maintained only if success; if ioctl() failed then just print warning instead of aborting.
Diffstat (limited to 'stubborn.c')
-rw-r--r--stubborn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stubborn.c b/stubborn.c
index a297dd51..b1991f13 100644
--- a/stubborn.c
+++ b/stubborn.c
@@ -22,6 +22,8 @@
/* written, but not yet GC_dirty()ed objects must be referenced */
/* by a stack. */
+ void GC_dirty(ptr_t p);
+
GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
{
return(GC_malloc(lb));