From: simonmar Date: Tue, 7 Mar 2000 12:03:01 +0000 (+0000) Subject: [project @ 2000-03-07 12:03:01 by simonmar] X-Git-Tag: Approximately_9120_patches~5048 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ba3011cdbc8d751a62d9d02e0c7d078ccb7a34ad;p=ghc-hetmet.git [project @ 2000-03-07 12:03:01 by simonmar] oops, need to define prof_file when DEBUGging too. --- diff --git a/ghc/rts/ProfHeap.c b/ghc/rts/ProfHeap.c index 9bb10ae..86e8386 100644 --- a/ghc/rts/ProfHeap.c +++ b/ghc/rts/ProfHeap.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ProfHeap.c,v 1.4 2000/03/07 11:53:12 simonmar Exp $ + * $Id: ProfHeap.c,v 1.5 2000/03/07 12:03:01 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -33,6 +33,8 @@ static void fprint_data(FILE *fp); char prof_filename[128]; /* urk */ #ifdef DEBUG_HEAP_PROF +FILE *prof_file; + void initProfiling( void ) { initHeapProfiling();