From 80f067ce388bdb1a7892f68898a2a5beb2a65399 Mon Sep 17 00:00:00 2001 From: sof Date: Mon, 18 Feb 2002 17:27:24 +0000 Subject: [PATCH] [project @ 2002-02-18 17:27:24 by sof] unused arg wibble --- ghc/rts/Schedule.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index 1a3843a..4197f58 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* --------------------------------------------------------------------------- - * $Id: Schedule.c,v 1.131 2002/02/18 13:26:13 sof Exp $ + * $Id: Schedule.c,v 1.132 2002/02/18 17:27:24 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -1426,7 +1426,12 @@ void deleteAllThreads ( void ) * ------------------------------------------------------------------------- */ StgInt -suspendThread( StgRegTable *reg, rtsBool concCall ) +suspendThread( StgRegTable *reg, + rtsBool concCall +#if !defined(RTS_SUPPORTS_THREADS) + STG_UNUSED +#endif + ) { nat tok; Capability *cap; @@ -1476,7 +1481,12 @@ suspendThread( StgRegTable *reg, rtsBool concCall ) } StgRegTable * -resumeThread( StgInt tok, rtsBool concCall ) +resumeThread( StgInt tok, + rtsBool concCall +#if !defined(RTS_SUPPORTS_THREADS) + STG_UNUSED +#endif + ) { StgTSO *tso, **prev; Capability *cap; -- 1.7.10.4