From fe4844f7da1879230f3c6eb6c9072edfdc0e4591 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 28 Feb 2002 18:45:51 +0000 Subject: [PATCH] [project @ 2002-02-28 18:45:51 by sof] make sure stdout is flushed; unused arg wibble --- ghc/rts/StgCRun.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)(); -- 1.7.10.4