X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsStartup.c;h=9bdc155663be646878b3d822c7597c7c2935cd86;hb=a70434c52d6259b83c132c116539178e4a8874f1;hp=af3d86f46313f3b971ffb2860856dca6b0a27cc0;hpb=1f813d58e63c4b71480c0da05d2a95da4ec0c46a;p=ghc-hetmet.git diff --git a/ghc/rts/RtsStartup.c b/ghc/rts/RtsStartup.c index af3d86f..9bdc155 100644 --- a/ghc/rts/RtsStartup.c +++ b/ghc/rts/RtsStartup.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsStartup.c,v 1.46 2000/12/19 14:30:58 simonmar Exp $ + * $Id: RtsStartup.c,v 1.47 2001/02/09 12:09:33 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -59,7 +59,7 @@ static ullong startTime = 0; #endif EXTFUN(__init_Prelude); -static void initModules ( void * ); +static void initModules ( void (*)(void) ); void setProgArgv(int argc, char *argv[]) @@ -82,7 +82,7 @@ getProgArgv(int *argc, char **argv[]) void -startupHaskell(int argc, char *argv[], void *init_root) +startupHaskell(int argc, char *argv[], void (*init_root)(void)) { /* To avoid repeated initialisations of the RTS */ if (rts_has_started_up) @@ -244,7 +244,7 @@ nat init_sp = 0; #ifndef INTERPRETER static void -initModules ( void *init_root ) +initModules ( void (*init_root)(void) ) { #ifdef SMP Capability cap;