SMP support (xchg(), cas() and mb()) for PowerPC
[ghc-hetmet.git] / ghc / includes / RtsMessages.h
index 8206bb9..3f0da3d 100644 (file)
  * 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 */