projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't generate stub files when -fno-code is given.
[ghc-hetmet.git]
/
ghc
/
includes
/
RtsMessages.h
diff --git
a/ghc/includes/RtsMessages.h
b/ghc/includes/RtsMessages.h
index
8206bb9
..
3f0da3d
100644
(file)
--- a/
ghc/includes/RtsMessages.h
+++ b/
ghc/includes/RtsMessages.h
@@
-26,12
+26,15
@@
* barf() invokes (*fatalInternalErrorFn)(). This function is not
* expected to return.
*/
* 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__);
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.
/*
* 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: */
/* 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 */