X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FRtsMessages.h;h=3f0da3d7ede53fb1de4e969afb27e97ed29204d2;hb=d98c897fc102f9b4dab7a030fb454c7a7e2120be;hp=8206bb987e2d8b17d3ab7afdc9df2aa6d27978c2;hpb=1d10874717ff05d2babc9cbf079d5895fcc0a922;p=ghc-hetmet.git diff --git a/ghc/includes/RtsMessages.h b/ghc/includes/RtsMessages.h index 8206bb9..3f0da3d 100644 --- a/ghc/includes/RtsMessages.h +++ b/ghc/includes/RtsMessages.h @@ -26,12 +26,15 @@ * barf() invokes (*fatalInternalErrorFn)(). This function is not * expected to return. */ -extern void barf(char *s, ...) +extern void barf(char *s, ...) GNUC3_ATTRIBUTE(__noreturn__); extern void vbarf(char *s, va_list ap) GNUC3_ATTRIBUTE(__noreturn__); +extern void _assertFail(char *filename, unsigned int linenum) + GNUC3_ATTRIBUTE(__noreturn__); + /* * An error condition which is caused by and/or can be corrected by * the user. @@ -66,8 +69,8 @@ extern RtsMsgFunction *errorMsgFn; /* Default stdio implementation of the message hooks: */ -extern RtsMsgFunction stdioFatalInternalErrorFn; -extern RtsMsgFunction stdioDebugMsgFn; -extern RtsMsgFunction stdioErrorMsgFn; +extern RtsMsgFunction rtsFatalInternalErrorFn; +extern RtsMsgFunction rtsDebugMsgFn; +extern RtsMsgFunction rtsErrorMsgFn; -#endif // RTSMESSAGES_H +#endif /* RTSMESSAGES_H */