From: sof Date: Thu, 28 Feb 2002 18:45:51 +0000 (+0000) Subject: [project @ 2002-02-28 18:45:51 by sof] X-Git-Tag: Approx_11550_changesets_converted~2331 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=fe4844f7da1879230f3c6eb6c9072edfdc0e4591;p=ghc-hetmet.git [project @ 2002-02-28 18:45:51 by sof] make sure stdout is flushed; unused arg wibble --- diff --git a/ghc/rts/StgCRun.c b/ghc/rts/StgCRun.c index a9501c4..80edff6 100644 --- a/ghc/rts/StgCRun.c +++ b/ghc/rts/StgCRun.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgCRun.c,v 1.29 2002/02/08 14:04:29 sewardj Exp $ + * $Id: StgCRun.c,v 1.30 2002/02/28 18:45:51 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -80,12 +80,12 @@ register double fake_f9 __asm__("$f9"); any architecture (using miniinterpreter) -------------------------------------------------------------------------- */ -extern StgThreadReturnCode StgRun(StgFunPtr f, StgRegTable *basereg) +extern StgThreadReturnCode StgRun(StgFunPtr f, StgRegTable *basereg STG_UNUSED) { while (f) { IF_DEBUG(evaluator, fprintf(stderr,"Jumping to "); - printPtr((P_)f); + printPtr((P_)f); fflush(stdout); fprintf(stderr,"\n"); ); f = (StgFunPtr) (f)();