X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsUtils.h;h=909e243b7a149f033b5a8551f9872a6570cb0c44;hb=661c97c65e5fa47177502e592bb763f752b487ac;hp=14856bf94338461d2876bb34116e85a7285fec5d;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/rts/RtsUtils.h b/rts/RtsUtils.h index 14856bf..909e243 100644 --- a/rts/RtsUtils.h +++ b/rts/RtsUtils.h @@ -9,6 +9,8 @@ #ifndef RTSUTILS_H #define RTSUTILS_H +BEGIN_RTS_PRIVATE + /* ----------------------------------------------------------------------------- * (Checked) dynamic allocation * -------------------------------------------------------------------------- */ @@ -33,24 +35,19 @@ void stgFree(void* p); void heapOverflow(void); char *time_str(void); -char *ullong_format_string(ullong, char *, rtsBool); +char *showStgWord64(StgWord64, char *, rtsBool); #ifdef DEBUG void heapCheckFail( void ); #endif -// XXX shouldn't be here -void* __hscore_get_saved_termios(int fd); -void __hscore_set_saved_termios(int fd, void* ts); - void printRtsInfo(void); -HsInt genSymZh(void); -HsInt resetGenSymZh(void); - /* Alternate to raise(3) for threaded rts, for OpenBSD */ int genericRaise(int sig); int rts_isProfiled(void); +END_RTS_PRIVATE + #endif /* RTSUTILS_H */