Two fixes to GC build problems.

svn: r583
This commit is contained in:
Eli Barzilay 2005-08-11 14:23:10 +00:00
parent 2cf78f136a
commit d889daf489
2 changed files with 1 additions and 16 deletions

View File

@ -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: */

View File

@ -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)