projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-11-19 15:51:16 by simonpj]
[ghc-hetmet.git]
/
ghc
/
rts
/
RtsStartup.c
diff --git
a/ghc/rts/RtsStartup.c
b/ghc/rts/RtsStartup.c
index
7b308ea
..
2a288b7
100644
(file)
--- a/
ghc/rts/RtsStartup.c
+++ b/
ghc/rts/RtsStartup.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: RtsStartup.c,v 1.64 2002/06/26 08:18:41 stolz Exp $
+ * $Id: RtsStartup.c,v 1.66 2002/08/16 13:29:06 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
*
* (c) The GHC Team, 1998-2000
*
@@
-50,6
+50,8
@@
# include "LLC.h"
#endif
# include "LLC.h"
#endif
+#include <stdlib.h>
+
/*
* Flag Structure
*/
/*
* Flag Structure
*/
@@
-224,7
+226,6
@@
startupHaskell(int argc, char *argv[], void (*init_root)(void))
*/
#define INIT_STACK_BLOCKS 4
F_ *init_stack = NULL;
*/
#define INIT_STACK_BLOCKS 4
F_ *init_stack = NULL;
-nat init_sp = 0;
static void
initModules ( void (*init_root)(void) )
static void
initModules ( void (*init_root)(void) )
@@
-235,6
+236,7
@@
initModules ( void (*init_root)(void) )
#else
#define cap MainCapability
#endif
#else
#define cap MainCapability
#endif
+ nat init_sp;
init_sp = 0;
bd = allocGroup(INIT_STACK_BLOCKS);
init_sp = 0;
bd = allocGroup(INIT_STACK_BLOCKS);