X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FRtsAPI.h;fp=ghc%2Fincludes%2FRtsAPI.h;h=6b249a807dc8133e9d7c8045d8627a1f8c27f243;hb=a70434c52d6259b83c132c116539178e4a8874f1;hp=8baf34f459b04a8c5640afc3e6e590b9135a02b6;hpb=1f813d58e63c4b71480c0da05d2a95da4ec0c46a;p=ghc-hetmet.git diff --git a/ghc/includes/RtsAPI.h b/ghc/includes/RtsAPI.h index 8baf34f..6b249a8 100644 --- a/ghc/includes/RtsAPI.h +++ b/ghc/includes/RtsAPI.h @@ -1,5 +1,5 @@ /* ---------------------------------------------------------------------------- - * $Id: RtsAPI.h,v 1.19 2001/01/11 17:25:56 simonmar Exp $ + * $Id: RtsAPI.h,v 1.20 2001/02/09 12:09:33 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -28,7 +28,8 @@ typedef StgClosure *HaskellObj; /* ---------------------------------------------------------------------------- Starting up and shutting down the Haskell RTS. ------------------------------------------------------------------------- */ -extern void startupHaskell ( int argc, char *argv[], void *init_root ); +extern void startupHaskell ( int argc, char *argv[], + void (*init_root)(void) ); extern void shutdownHaskell ( void ); extern void shutdownHaskellAndExit ( int exitCode ); extern void setProgArgv ( int argc, char *argv[] );