From: sof Date: Mon, 18 Feb 2002 17:27:24 +0000 (+0000) Subject: [project @ 2002-02-18 17:27:24 by sof] X-Git-Tag: Approximately_9120_patches~2 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=80f067ce388bdb1a7892f68898a2a5beb2a65399;p=ghc-hetmet.git [project @ 2002-02-18 17:27:24 by sof] unused arg wibble --- 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;