[commit: ghc] master: rts: delint/detab/dewhitespace win32/GetTime.c (59b6ea8)
git at git.haskell.org
git at git.haskell.org
Mon Jul 28 14:35:38 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/59b6ea8d7535164b7ed9dd514468fb701b9f8ce8/ghc
>---------------------------------------------------------------
commit 59b6ea8d7535164b7ed9dd514468fb701b9f8ce8
Author: Austin Seipp <austin at well-typed.com>
Date: Mon Jul 21 19:43:56 2014 -0500
rts: delint/detab/dewhitespace win32/GetTime.c
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
59b6ea8d7535164b7ed9dd514468fb701b9f8ce8
rts/win32/GetTime.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rts/win32/GetTime.c b/rts/win32/GetTime.c
index bfab43a..514def6 100644
--- a/rts/win32/GetTime.c
+++ b/rts/win32/GetTime.c
@@ -40,8 +40,8 @@ getProcessCPUTime(void)
FILETIME creationTime, exitTime, userTime, kernelTime = {0,0};
if (!GetProcessTimes(GetCurrentProcess(), &creationTime,
- &exitTime, &kernelTime, &userTime)) {
- return 0;
+ &exitTime, &kernelTime, &userTime)) {
+ return 0;
}
return fileTimeToRtsTime(userTime);
@@ -106,8 +106,8 @@ getThreadCPUTime(void)
FILETIME creationTime, exitTime, userTime, kernelTime = {0,0};
if (!GetThreadTimes(GetCurrentThread(), &creationTime,
- &exitTime, &kernelTime, &userTime)) {
- return 0;
+ &exitTime, &kernelTime, &userTime)) {
+ return 0;
}
return fileTimeToRtsTime(userTime);
More information about the ghc-commits
mailing list