X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsStartup.c;h=2a288b7d009777fbea62b2bc35da6200a42e54f2;hb=cbe4e8aeb317f3af99eb180492b2de99fa555933;hp=c375426f43819452bb0958d0c00a4c54f21580ec;hpb=7457757f193b28b5fe8fee01edbed012c2fda897;p=ghc-hetmet.git diff --git a/ghc/rts/RtsStartup.c b/ghc/rts/RtsStartup.c index c375426..2a288b7 100644 --- a/ghc/rts/RtsStartup.c +++ b/ghc/rts/RtsStartup.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsStartup.c,v 1.65 2002/07/17 09:21:50 simonmar Exp $ + * $Id: RtsStartup.c,v 1.66 2002/08/16 13:29:06 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -226,7 +226,6 @@ startupHaskell(int argc, char *argv[], void (*init_root)(void)) */ #define INIT_STACK_BLOCKS 4 F_ *init_stack = NULL; -nat init_sp = 0; static void initModules ( void (*init_root)(void) ) @@ -237,6 +236,7 @@ initModules ( void (*init_root)(void) ) #else #define cap MainCapability #endif + nat init_sp; init_sp = 0; bd = allocGroup(INIT_STACK_BLOCKS);