]> granicus.if.org Git - gc/commitdiff
Two fixes to GC build problems.
authorEli Barzilay <eli@racket-lang.org>
Thu, 11 Aug 2005 14:23:10 +0000 (14:23 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 3 Nov 2013 08:38:44 +0000 (12:38 +0400)
svn: r583

include/private/gc_priv.h
mark.c

index c28ecfa09fdd6cc48d6a42f8d3512c76886036b6..19dc66e9a729caf9d30c1b9335925757db24e5f1 100644 (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:      */
diff --git a/mark.c b/mark.c
index 3d541a00786023d3356b06646b6bf6dc0970a1eb..0d510e1b9db9a6eb40210309281d671730a33fa0 100644 (file)
--- a/mark.c
+++ b/mark.c
 
 /* 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)