From ba3011cdbc8d751a62d9d02e0c7d078ccb7a34ad Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 7 Mar 2000 12:03:01 +0000 Subject: [PATCH] [project @ 2000-03-07 12:03:01 by simonmar] oops, need to define prof_file when DEBUGging too. --- ghc/rts/ProfHeap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 1.7.10.4