diff options
| author | simonmar <unknown> | 2002-08-16 13:29:07 +0000 |
|---|---|---|
| committer | simonmar <unknown> | 2002-08-16 13:29:07 +0000 |
| commit | 95371b03d1e5310f3b344cc2ecf29982e2bc9f5d (patch) | |
| tree | fd1a58d1883c1fb955862e416f5b64ec55026b4c /ghc/rts/ProfHeap.c | |
| parent | 3dfd50c38c25da76fc9d09da1ac02541eb2feaaa (diff) | |
| download | haskell-95371b03d1e5310f3b344cc2ecf29982e2bc9f5d.tar.gz | |
[project @ 2002-08-16 13:29:05 by simonmar]
Global and common variable sweep: staticize many variables that don't
need to be globally visible.
Diffstat (limited to 'ghc/rts/ProfHeap.c')
| -rw-r--r-- | ghc/rts/ProfHeap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ghc/rts/ProfHeap.c b/ghc/rts/ProfHeap.c index ffbbd1da82..01737549e2 100644 --- a/ghc/rts/ProfHeap.c +++ b/ghc/rts/ProfHeap.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ProfHeap.c,v 1.37 2002/07/18 09:12:34 simonmar Exp $ + * $Id: ProfHeap.c,v 1.38 2002/08/16 13:29:06 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -95,8 +95,8 @@ typedef struct { int drag_total; } Census; -Census *censuses = NULL; -nat n_censuses = 0; +static Census *censuses = NULL; +static nat n_censuses = 0; #ifdef PROFILING static void aggregateCensusInfo( void ); |
