summaryrefslogtreecommitdiff
path: root/rts/RtsUtils.c
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-08-20 12:28:01 -0500
committerAustin Seipp <austin@well-typed.com>2014-08-20 12:28:01 -0500
commit646f214ab3420372b2584741e98c3dc8fe350694 (patch)
tree1fb34b4bd851ee7f6300c6378d5fcafb1ee38d3b /rts/RtsUtils.c
parent00878c53dd3a15f7903872b963c8c80cb030f792 (diff)
downloadhaskell-646f214ab3420372b2584741e98c3dc8fe350694.tar.gz
rts: detabify/dewhitespace RtsUtils.c
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r--rts/RtsUtils.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c
index 811dcf1b4c..aff82af45f 100644
--- a/rts/RtsUtils.c
+++ b/rts/RtsUtils.c
@@ -109,7 +109,7 @@ stgFree(void* p)
/* -----------------------------------------------------------------------------
Stack overflow
-
+
Not sure if this belongs here.
-------------------------------------------------------------------------- */
@@ -147,14 +147,14 @@ time_str(void)
static char nowstr[26];
if (now == 0) {
- time(&now);
+ time(&now);
#if HAVE_CTIME_R
- ctime_r(&now, nowstr);
+ ctime_r(&now, nowstr);
#else
- strcpy(nowstr, ctime(&now));
+ strcpy(nowstr, ctime(&now));
#endif
- memmove(nowstr+16,nowstr+19,7);
- nowstr[21] = '\0'; // removes the \n
+ memmove(nowstr+16,nowstr+19,7);
+ nowstr[21] = '\0'; // removes the \n
}
return nowstr;
}
@@ -244,7 +244,7 @@ heapCheckFail( void )
}
#endif
-/*
+/*
* It seems that pthreads and signals interact oddly in OpenBSD & FreeBSD
* pthreads (and possibly others). When linking with -lpthreads, we
* have to use pthread_kill to send blockable signals. So use that