summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-08-20 12:40:58 -0500
committerAustin Seipp <austin@well-typed.com>2014-08-20 12:51:29 -0500
commit6f3dd986e05f764b0c036840cfa9624b1e8c48f2 (patch)
tree7c4423c1b9bc5a45aa9f5cf2a193e8d13afbb049
parent772ffbe77e81b680124c41ba6b3119ca4d7ac2c1 (diff)
downloadhaskell-6f3dd986e05f764b0c036840cfa9624b1e8c48f2.tar.gz
[ci skip] includes: detabify/dewhitespace Rts.h
Signed-off-by: Austin Seipp <austin@well-typed.com>
-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;