X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsUtils.h;h=310acebc33fdda562a2ee89e72d48ad0d239afc9;hb=a3a331064b5020f77bf676a3d4eb74650ae7b8c3;hp=97769b916b858bb568fa12e7b7369d8def251142;hpb=1d10874717ff05d2babc9cbf079d5895fcc0a922;p=ghc-hetmet.git diff --git a/ghc/rts/RtsUtils.h b/ghc/rts/RtsUtils.h index 97769b9..310aceb 100644 --- a/ghc/rts/RtsUtils.h +++ b/ghc/rts/RtsUtils.h @@ -16,6 +16,9 @@ extern void *stgMallocBytes(int n, char *msg) GNUC3_ATTRIBUTE(__malloc__); +extern void* stgMallocBytesRWX(int len) + GNUC3_ATTRIBUTE(__malloc__); + extern void *stgReallocBytes(void *p, int n, char *msg); extern void *stgCallocBytes(int n, int m, char *msg) @@ -27,8 +30,6 @@ extern void stgFree(void* p); * Misc other utilities * -------------------------------------------------------------------------- */ -extern void _stgAssert (char *filename, unsigned int linenum); - extern void heapOverflow(void); extern void setNonBlockingFd(int fd); @@ -50,4 +51,4 @@ extern void heapCheckFail( void ); extern void* __hscore_get_saved_termios(int fd); extern void __hscore_set_saved_termios(int fd, void* ts); -#endif // RTSUTILS_H +#endif /* RTSUTILS_H */