X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsUtils.h;h=428061a8f45ab186013507d80e4bbf8306cb8a08;hb=dc18f88a2c04028f10b00a717820f9d7bccb1d5f;hp=8f871b0212f0f4cfe8efd4555c3bee9076f2ae66;hpb=ee6369a6d3bf8eef515285c9f9523e388c5c267e;p=ghc-hetmet.git diff --git a/ghc/rts/RtsUtils.h b/ghc/rts/RtsUtils.h index 8f871b0..428061a 100644 --- a/ghc/rts/RtsUtils.h +++ b/ghc/rts/RtsUtils.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsUtils.h,v 1.5 1999/11/09 10:46:25 simonmar Exp $ + * $Id: RtsUtils.h,v 1.10 2000/05/18 11:32:21 panne Exp $ * * (c) The GHC Team, 1998-1999 * @@ -13,13 +13,10 @@ extern void *stgReallocBytes(void *p, int n, char *msg); extern void *stgReallocWords(void *p, int n, char *msg); extern void barf(char *s, ...) __attribute__((__noreturn__)) ; extern void belch(char *s, ...); +extern void prog_belch(char *s, ...); extern void _stgAssert (char *filename, unsigned int linenum); -extern StgStablePtr errorHandler; -extern void raiseError( StgStablePtr handler ); - -extern void stackOverflow(void); extern void heapOverflow(void); void resetNonBlockingFd(int fd); @@ -29,7 +26,9 @@ extern nat stg_strlen(char *str); /*Defined in Main.c, but made visible here*/ extern void stg_exit(I_ n) __attribute__((noreturn)); -char * time_str(void); - +char *time_str(void); char *ullong_format_string(ullong, char *, rtsBool); +ullong msTime(void); + +