From: Eli Barzilay Date: Thu, 11 Aug 2005 14:23:10 +0000 (+0000) Subject: Two fixes to GC build problems. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=debe3d2dc8399ffa4495b259aa56a8ce2c18d990;p=gc Two fixes to GC build problems. svn: r583 --- diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index c28ecfa0..19dc66e9 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -1817,17 +1817,6 @@ GC_API void GC_dump GC_PROTO((void)); # define GC_MARKED_FOR_FINALIZATION(dest) #endif -/* Make arguments appear live to compiler */ -# ifdef __WATCOMC__ - void GC_noop(void*, ...); -# else -# ifdef __DMC__ - GC_API void GC_noop(...); -# else - GC_API void GC_noop(); -# endif -# endif - void GC_noop1 GC_PROTO((word)); /* Logging and diagnostic output: */ diff --git a/mark.c b/mark.c index 3d541a00..0d510e1b 100644 --- a/mark.c +++ b/mark.c @@ -25,11 +25,7 @@ /* We put this here to minimize the risk of inlining. */ /*VARARGS*/ -#ifdef __WATCOMC__ - void GC_noop(void *p, ...) {} -#else - void GC_noop() {} -#endif +void GC_noop(void *p, ...) {} /* Single argument version, robust against whole program analysis. */ void GC_noop1(x)