From d53b6dfbbb335dba60ef960e7e3abee10dcd9ed9 Mon Sep 17 00:00:00 2001 From: ivmai Date: Mon, 23 May 2011 15:18:04 +0000 Subject: 2011-05-23 Ivan Maidanski * 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. --- stubborn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stubborn.c') 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)); -- cgit v1.2.1