summaryrefslogtreecommitdiff
path: root/includes/Rts.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Rts.h')
-rw-r--r--includes/Rts.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/includes/Rts.h b/includes/Rts.h
index aca6c49605..6bf7650f69 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -99,16 +99,16 @@ extern "C" {
void _assertFail(const char *filename, unsigned int linenum)
GNUC3_ATTRIBUTE(__noreturn__);
-#define CHECK(predicate) \
- if (predicate) \
- /*null*/; \
- else \
- _assertFail(__FILE__, __LINE__)
+#define CHECK(predicate) \
+ if (predicate) \
+ /*null*/; \
+ else \
+ _assertFail(__FILE__, __LINE__)
#define CHECKM(predicate, msg, ...) \
- if (predicate) \
- /*null*/; \
- else \
+ if (predicate) \
+ /*null*/; \
+ else \
barf(msg, ##__VA_ARGS__)
#ifndef DEBUG
@@ -119,7 +119,7 @@ void _assertFail(const char *filename, unsigned int linenum)
#define ASSERTM(predicate,msg,...) CHECKM(predicate,msg,##__VA_ARGS__)
#endif /* DEBUG */
-/*
+/*
* Use this on the RHS of macros which expand to nothing
* to make sure that the macro can be used in a context which
* demands a non-empty statement.
@@ -240,7 +240,7 @@ INLINE_HEADER Time fsecondsToTime (double t)
#include "rts/Main.h"
/* Misc stuff without a home */
-DLL_IMPORT_RTS extern char **prog_argv; /* so we can get at these from Haskell */
+DLL_IMPORT_RTS extern char **prog_argv; /* so we can get at these from Haskell */
DLL_IMPORT_RTS extern int prog_argc;
DLL_IMPORT_RTS extern char *prog_name;